2019-05-23 14:11:42 +09:00
|
|
|
import define from '../../define';
|
|
|
|
import { Logs } from '../../../../models';
|
|
|
|
|
|
|
|
export const meta = {
|
|
|
|
tags: ['admin'],
|
|
|
|
|
2020-02-15 21:33:32 +09:00
|
|
|
requireCredential: true as const,
|
2019-05-23 14:11:42 +09:00
|
|
|
requireModerator: true,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default define(meta, async (ps) => {
|
|
|
|
await Logs.delete({});
|
|
|
|
});
|