mirror of
https://github.com/paricafe/misskey.git
synced 2025-01-11 16:00:50 -06:00
18 lines
395 B
TypeScript
18 lines
395 B
TypeScript
import define from '../../../define';
|
|
import { destroy } from '../../../../../queue';
|
|
import { insertModerationLog } from '../../../../../services/insert-moderation-log';
|
|
|
|
export const meta = {
|
|
tags: ['admin'],
|
|
|
|
requireCredential: true as const,
|
|
requireModerator: true,
|
|
|
|
params: {}
|
|
};
|
|
|
|
export default define(meta, async (ps, me) => {
|
|
destroy();
|
|
|
|
insertModerationLog(me, 'clearQueue');
|
|
});
|