mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 16:43:08 +02:00
13 lines
265 B
TypeScript
13 lines
265 B
TypeScript
import define from '../../define';
|
|
import { Logs } from '../../../../models';
|
|
|
|
export const meta = {
|
|
tags: ['admin'],
|
|
|
|
requireCredential: true as const,
|
|
requireModerator: true,
|
|
};
|
|
|
|
export default define(meta, async (ps) => {
|
|
await Logs.clear(); // TRUNCATE
|
|
});
|