diff --git a/src/controllers/ProfileChangeNameController.ts b/src/controllers/ProfileChangeNameController.ts index 628e2c20..f4efc7b2 100644 --- a/src/controllers/ProfileChangeNameController.ts +++ b/src/controllers/ProfileChangeNameController.ts @@ -147,12 +147,12 @@ export class ProfileChangeNameController extends Controller { profile.prefix = body.prefix ?? profile.prefix; await this.profileRepository.save(profile); - if (profile != null && profile.keycloak != null) { - const result = await updateName(profile.keycloak, profile.firstName, profile.lastName, req); - if (!result) { - throw new Error(result.errorMessage); - } - } + // if (profile != null && profile.keycloak != null) { + // const result = await updateName(profile.keycloak, profile.firstName, profile.lastName, req); + // if (!result) { + // throw new Error(result.errorMessage); + // } + // } return new HttpSuccess(data.id); }