mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-08 23:53:08 +02: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 : {});
|
|
});
|