Skip to content

Commit

Permalink
add orgunit to member
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernt Andreas Johnsen committed Nov 5, 2023
1 parent dff1bda commit dcc0170
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/no/fintlabs/member/Member.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ public class Member {
private String userType;
private String UserName;
private UUID identityProviderUserObjectId;
private String organisationUnitName;
private String organisationUnitId;
}
2 changes: 2 additions & 0 deletions src/main/java/no/fintlabs/member/MemberService.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ public Member create(User user) {
.userType(user.getUserType())
.UserName(user.getUserName())
.identityProviderUserObjectId(user.getIdentityProviderUserObjectId())
.organisationUnitId(user.getMainOrganisationUnitId())
.organisationUnitName(user.getMainOrganisationUnitName())
.build();
}
}

0 comments on commit dcc0170

Please sign in to comment.