mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 22:53:07 +02:00
Fix bug
This commit is contained in:
parent
14f74a561c
commit
0f4f862840
1 changed files with 1 additions and 1 deletions
|
@ -6,5 +6,5 @@ import Meta from '../../../models/meta';
|
|||
export default () => new Promise(async (res, rej) => {
|
||||
const meta = await Meta.findOne();
|
||||
|
||||
res(meta.stats);
|
||||
res(meta ? meta.stats : {});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue