Skip to content

Commit

Permalink
chore: fixing param
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Oct 29, 2024
1 parent 13757d0 commit 9ffc198
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ public List<OrgUnitEntity> findAllOrgUnits() {
public List<OrgUnitEntity> findAllOrgUnitsByCode(List<String> orgUnitCodes) {
log.info("Getting all org units by codes: {}", orgUnitCodes);

List<OrgUnitEntity> orgUnits = orgUnitRepository.findAllByOrgUnitCodeIn(
Arrays.asList(orgUnitCodes));
List<OrgUnitEntity> orgUnits = orgUnitRepository.findAllByOrgUnitCodeIn(orgUnitCodes);
log.info("Found {} org units by codes", orgUnits.size());
return orgUnits;
}
Expand Down

0 comments on commit 9ffc198

Please sign in to comment.