ユーザーテーブルを物理削除しない

This commit is contained in:
Camilla Ett 2024-04-07 15:23:12 +09:00
parent 2f8fb105a5
commit d7c81c25a1
2 changed files with 2 additions and 2 deletions

View file

@ -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, {

View file

@ -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, {