summaryrefslogtreecommitdiff
path: root/src/queue/index.ts
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2021-09-23 22:41:02 +0900
committerGitHub <noreply@github.com>2021-09-23 22:41:02 +0900
commit8a558eed362bfdaee5453191616326579a610c29 (patch)
tree45fcea453f17e8ee7dc0e710de654a0f6315c66e /src/queue/index.ts
parentfix inboxQueue import (#7829) (diff)
downloadsharkey-8a558eed362bfdaee5453191616326579a610c29.tar.gz
sharkey-8a558eed362bfdaee5453191616326579a610c29.tar.bz2
sharkey-8a558eed362bfdaee5453191616326579a610c29.zip
Update index.ts (#7830)
Diffstat (limited to 'src/queue/index.ts')
-rw-r--r--src/queue/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue/index.ts b/src/queue/index.ts
index 0ce10a4c60..c787253ded 100644
--- a/src/queue/index.ts
+++ b/src/queue/index.ts
@@ -173,7 +173,7 @@ export function createImportUserListsJob(user: ThinUser, fileId: DriveFile['id']
});
}
-export function createDeleteAccountJob(user: ThinUser, opts: { soft?: boolean; }) {
+export function createDeleteAccountJob(user: ThinUser, opts: { soft?: boolean; } = {}) {
return dbQueue.add('deleteAccount', {
user: user,
soft: opts.soft