1
0
mirror of https://github.com/misskey-dev/misskey synced 2025-01-08 10:53:29 +09:00
misskey/src/server/api/endpoints/admin/delete-logs.ts
2019-05-23 14:11:42 +09:00

14 lines
247 B
TypeScript

import define from '../../define';
import { Logs } from '../../../../models';
export const meta = {
tags: ['admin'],
requireCredential: true,
requireModerator: true,
};
export default define(meta, async (ps) => {
await Logs.delete({});
});