mirror of
https://github.com/misskey-dev/misskey
synced 2024-05-20 10:19:41 +02:00
ユーザーテーブルを物理削除しない
This commit is contained in:
parent
2f8fb105a5
commit
d7c81c25a1
|
@ -35,7 +35,7 @@ export class DeleteAccountService {
|
|||
await this.userSuspendService.doPostSuspend(user).catch(e => {});
|
||||
|
||||
this.queueService.createDeleteAccountJob(user, {
|
||||
soft: false,
|
||||
soft: true,
|
||||
});
|
||||
|
||||
await this.usersRepository.update(user.id, {
|
||||
|
|
|
@ -53,7 +53,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
await this.userSuspendService.doPostSuspend(user).catch(err => {});
|
||||
|
||||
this.queueService.createDeleteAccountJob(user, {
|
||||
soft: false,
|
||||
soft: true,
|
||||
});
|
||||
} else {
|
||||
this.queueService.createDeleteAccountJob(user, {
|
||||
|
|
Loading…
Reference in a new issue