1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-28 14:58:36 +09:00

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

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', {
user: user,
soft: opts.soft