Skip to content

Commit

Permalink
Merge pull request #9 from FINTLabs/feature_orgunit_on_member
Browse files Browse the repository at this point in the history
Feature orgunit on member
  • Loading branch information
berntjoh authored Nov 6, 2023
2 parents 4afdfab + 3684886 commit c4f1c14
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 c4f1c14

Please sign in to comment.