Update index.ts (#7830)

This commit is contained in:
MeiMei 2021-09-23 22:41:02 +09:00 committed by GitHub
parent ccb72b4672
commit ee0ea8724b

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