misskey/src/server/api/endpoints/admin/drive/clean-remote-files.ts

14 lines
283 B
TypeScript
Raw Normal View History

2019-05-27 09:54:47 +02:00
import define from '../../../define';
import { createCleanRemoteFilesJob } from '../../../../../queue';
2019-05-27 09:54:47 +02:00
export const meta = {
tags: ['admin'],
requireCredential: true,
requireModerator: true,
};
export default define(meta, async (ps, me) => {
createCleanRemoteFilesJob();
2019-05-27 09:54:47 +02:00
});