no message
This commit is contained in:
parent
a354fe74fe
commit
04928bb83a
1 changed files with 2 additions and 0 deletions
|
|
@ -151,7 +151,9 @@ export class KeycloakController extends Controller {
|
|||
});
|
||||
|
||||
if (profile) {
|
||||
let _null: any = null;
|
||||
profile.keycloak = userId;
|
||||
profile.email = body.email == null ? _null : body.email;
|
||||
await this.profileRepo.save(profile);
|
||||
if (body.roles != null && body.roles.length > 0) {
|
||||
const roleKeycloak = await this.roleKeycloakRepo.find({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue