diff --git a/src/controllers/UserController.ts b/src/controllers/UserController.ts index f496c054..306d0e61 100644 --- a/src/controllers/UserController.ts +++ b/src/controllers/UserController.ts @@ -191,9 +191,10 @@ export class KeycloakController extends Controller { id: userId, }, }); - + if (profile) { - profile.keycloak = ""; + const null_:any = null; + profile.keycloak = null_; await this.profileRepo.save(profile); } }