Skip to content

Commit

Permalink
FB-120 #comment Fails when uploading students from VIS
Browse files Browse the repository at this point in the history
  • Loading branch information
trondsevre committed Dec 23, 2021
1 parent f9801d4 commit 772cd0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/no/fint/betaling/service/GroupService.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public Map<String, Customer> getCustomersForSchoolWithVisIdKey(String schoolId)
e -> e.getSystemId().getIdentifikatorverdi(),
e -> e.getElev()
.stream()
.filter(Objects::nonNull)
.map(groupRepository.getStudents()::get)
.map(CustomerFactory::toCustomer)
.distinct()
Expand Down

0 comments on commit 772cd0d

Please sign in to comment.