2021-08-19 21:55:45 +09:00
|
|
|
import define from '../../../define';
|
|
|
|
import { createCleanRemoteFilesJob } from '@/queue/index';
|
2019-05-27 16:54:47 +09:00
|
|
|
|
|
|
|
export const meta = {
|
|
|
|
tags: ['admin'],
|
|
|
|
|
2020-02-15 21:33:32 +09:00
|
|
|
requireCredential: true as const,
|
2019-05-27 16:54:47 +09:00
|
|
|
requireModerator: true,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default define(meta, async (ps, me) => {
|
2019-07-01 21:12:14 +09:00
|
|
|
createCleanRemoteFilesJob();
|
2019-05-27 16:54:47 +09:00
|
|
|
});
|