mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-30 14:38:30 +09:00
11 lines
208 B
TypeScript
11 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 : {});
|
|
});
|