sharkey/src/server/api/endpoints/admin/drive/clean-remote-files.ts
2020-02-15 21:33:32 +09:00

14 lines
292 B
TypeScript

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