mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-26 12:38:07 +09:00
14 lines
247 B
TypeScript
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({});
|
|
});
|