sharkey/packages/backend/src/server/api/endpoints/admin/drive/clean-remote-files.ts
syuilo 0e4a111f81 refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00

14 lines
285 B
TypeScript

import define from '../../../define';
import { createCleanRemoteFilesJob } from '@/queue/index';
export const meta = {
tags: ['admin'],
requireCredential: true as const,
requireModerator: true,
};
export default define(meta, async (ps, me) => {
createCleanRemoteFilesJob();
});