fix active value
This commit is contained in:
parent
655b600292
commit
90b338f7e4
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ export class SCIMUser implements ISCIMResource {
|
||||||
user.userName = rc.username;
|
user.userName = rc.username;
|
||||||
user.meta.created = new Date(rc.createdAt);
|
user.meta.created = new Date(rc.createdAt);
|
||||||
user.meta.lastModified = new Date(rc.createdAt);
|
user.meta.lastModified = new Date(rc.createdAt);
|
||||||
if (user.active !== undefined) {
|
if (rc.active !== undefined) {
|
||||||
user.active = user.active;
|
user.active = rc.active;
|
||||||
}
|
}
|
||||||
return user;
|
return user;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue