mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-18 07:57:38 -07:00
10 lines
208 B
TypeScript
10 lines
208 B
TypeScript
import Meta from '../../../models/meta';
|
|
|
|
/**
|
|
* Get the misskey's statistics
|
|
*/
|
|
export default () => new Promise(async (res, rej) => {
|
|
const meta = await Meta.findOne();
|
|
|
|
res(meta ? meta.stats : {});
|
|
});
|