no message

This commit is contained in:
kittapath 2024-11-13 16:07:37 +07:00
parent a354fe74fe
commit 04928bb83a

View file

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