diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2021-09-23 22:41:02 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-23 22:41:02 +0900 |
| commit | 8a558eed362bfdaee5453191616326579a610c29 (patch) | |
| tree | 45fcea453f17e8ee7dc0e710de654a0f6315c66e /src/queue/index.ts | |
| parent | fix inboxQueue import (#7829) (diff) | |
| download | sharkey-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.ts | 2 |
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 |