Update index.ts (#7830)

This commit is contained in:
MeiMei 2021-09-23 22:41:02 +09:00 committed by GitHub
parent ce32cd576b
commit 8a558eed36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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', { return dbQueue.add('deleteAccount', {
user: user, user: user,
soft: opts.soft soft: opts.soft