edit name null_
This commit is contained in:
parent
fb96c44753
commit
ed111475f8
6 changed files with 171 additions and 135 deletions
|
|
@ -260,14 +260,14 @@ export class KeycloakController extends Controller {
|
|||
});
|
||||
if (!profileEmp) {
|
||||
} else {
|
||||
const null_: any = null;
|
||||
profileEmp.keycloak = null_;
|
||||
const _null: any = null;
|
||||
profileEmp.keycloak = _null;
|
||||
profileEmp.roleKeycloaks = [];
|
||||
await this.profileEmpRepo.save(profileEmp);
|
||||
}
|
||||
} else {
|
||||
const null_: any = null;
|
||||
profile.keycloak = null_;
|
||||
const _null: any = null;
|
||||
profile.keycloak = _null;
|
||||
profile.roleKeycloaks = [];
|
||||
await this.profileRepo.save(profile);
|
||||
return new HttpSuccess();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue