This commit is contained in:
syuilo 2018-07-08 03:51:09 +09:00
parent 14f74a561c
commit 0f4f862840
1 changed files with 1 additions and 1 deletions

View File

@ -6,5 +6,5 @@ import Meta from '../../../models/meta';
export default () => new Promise(async (res, rej) => { export default () => new Promise(async (res, rej) => {
const meta = await Meta.findOne(); const meta = await Meta.findOne();
res(meta.stats); res(meta ? meta.stats : {});
}); });