Skip to content

Commit

Permalink
Merge pull request #22 from FINTLabs/fix_ACTIV
Browse files Browse the repository at this point in the history
FKS-603 changed status 'ACTIV' to 'ACTIVE'
  • Loading branch information
erlingjahr authored Jul 25, 2024
2 parents 3ecd583 + b9457d7 commit 2ef331e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/no/fintlabs/externalUser/ExternalUser.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public User toUser(){
.mainOrganisationUnitId(mainOrganisationUnitId)
.email(email)
.mobilePhone(mobilePhone)
.status(accountEnabled?"ACTIV" :"DISABLED")
.status(accountEnabled?"ACTIVE" :"DISABLED")
.build();
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/no/fintlabs/user/UserService.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public List<SimpleUser> getSimpleUsersUsingSpec(
List<User> userList = userRepository.findAll(userSpesification.build());

return userList.stream()
.filter(user -> user.getStatus().equals("ACTIV"))
.filter(user -> user.getStatus().equals("ACTIVE"))
.map(User::toSimpleUser)
.toList();
}
Expand Down

0 comments on commit 2ef331e

Please sign in to comment.