mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Fix bug
This commit is contained in:
parent
d6c1324491
commit
096bd52a34
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…
Add table
Reference in a new issue