From 8a558eed362bfdaee5453191616326579a610c29 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Thu, 23 Sep 2021 22:41:02 +0900 Subject: [PATCH] Update index.ts (#7830) --- src/queue/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queue/index.ts b/src/queue/index.ts index 0ce10a4c6..c787253de 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