Skip to content
Snippets Groups Projects
Commit 0f4f8628 authored by syuilo's avatar syuilo
Browse files

Fix bug

parent 14f74a56
No related merge requests found
......@@ -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 : {});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment