summaryrefslogtreecommitdiff
path: root/src/queue/processors/object-storage/delete-file.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue/processors/object-storage/delete-file.ts')
-rw-r--r--src/queue/processors/object-storage/delete-file.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/queue/processors/object-storage/delete-file.ts b/src/queue/processors/object-storage/delete-file.ts
deleted file mode 100644
index ed22968a27..0000000000
--- a/src/queue/processors/object-storage/delete-file.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { ObjectStorageFileJobData } from '@/queue/types';
-import * as Bull from 'bull';
-import { deleteObjectStorageFile } from '@/services/drive/delete-file';
-
-export default async (job: Bull.Job<ObjectStorageFileJobData>) => {
- const key: string = job.data.key;
-
- await deleteObjectStorageFile(key);
-
- return 'Success';
-};