summaryrefslogtreecommitdiff
path: root/packages/backend/src/queue/processors/object-storage
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-12-09 23:58:30 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-12-09 23:58:30 +0900
commitc69b72e1999578cba15e34677ebd366482cba734 (patch)
tree624ac6500e36e3a7024a5ea19ae891ef86781d04 /packages/backend/src/queue/processors/object-storage
parentUpdate instance-mute.vue (diff)
downloadsharkey-c69b72e1999578cba15e34677ebd366482cba734.tar.gz
sharkey-c69b72e1999578cba15e34677ebd366482cba734.tar.bz2
sharkey-c69b72e1999578cba15e34677ebd366482cba734.zip
fix lint
Diffstat (limited to 'packages/backend/src/queue/processors/object-storage')
-rw-r--r--packages/backend/src/queue/processors/object-storage/clean-remote-files.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/backend/src/queue/processors/object-storage/clean-remote-files.ts b/packages/backend/src/queue/processors/object-storage/clean-remote-files.ts
index a094c39d5d..788383a0a3 100644
--- a/packages/backend/src/queue/processors/object-storage/clean-remote-files.ts
+++ b/packages/backend/src/queue/processors/object-storage/clean-remote-files.ts
@@ -18,12 +18,12 @@ export default async function cleanRemoteFiles(job: Bull.Job<Record<string, unkn
where: {
userHost: Not(IsNull()),
isLink: false,
- ...(cursor ? { id: MoreThan(cursor) } : {})
+ ...(cursor ? { id: MoreThan(cursor) } : {}),
},
take: 8,
order: {
- id: 1
- }
+ id: 1,
+ },
});
if (files.length === 0) {