2019-05-27 09:54:47 +02:00
|
|
|
import define from '../../../define';
|
2019-07-01 14:12:14 +02:00
|
|
|
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) => {
|
2019-07-01 14:12:14 +02:00
|
|
|
createCleanRemoteFilesJob();
|
2019-05-27 09:54:47 +02:00
|
|
|
});
|