エラーをもとに戻す
This commit is contained in:
parent
6fed7738a7
commit
f1425bc509
@ -246,7 +246,6 @@ export class AdB2cService {
|
||||
try {
|
||||
// https://learn.microsoft.com/en-us/graph/api/user-delete?view=graph-rest-1.0&tabs=javascript#example
|
||||
await this.graphClient.api(`users/${externalId}`).delete();
|
||||
throw new Error('ADB2C Error');
|
||||
} catch (e) {
|
||||
this.logger.error(`error=${e}`);
|
||||
throw e;
|
||||
|
||||
@ -398,6 +398,5 @@ export class UsersRepositoryService {
|
||||
// プライマリ管理者を削除
|
||||
await usersRepo.delete({ id: userId });
|
||||
});
|
||||
throw new Error('DB Error');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user