diff --git a/backend/src/main/java/ca/bc/gov/restapi/results/oracle/service/OrgUnitService.java b/backend/src/main/java/ca/bc/gov/restapi/results/oracle/service/OrgUnitService.java index b0eb51b1..4df7972c 100644 --- a/backend/src/main/java/ca/bc/gov/restapi/results/oracle/service/OrgUnitService.java +++ b/backend/src/main/java/ca/bc/gov/restapi/results/oracle/service/OrgUnitService.java @@ -52,8 +52,7 @@ public List findAllOrgUnits() { public List findAllOrgUnitsByCode(List orgUnitCodes) { log.info("Getting all org units by codes: {}", orgUnitCodes); - List orgUnits = orgUnitRepository.findAllByOrgUnitCodeIn( - Arrays.asList(orgUnitCodes)); + List orgUnits = orgUnitRepository.findAllByOrgUnitCodeIn(orgUnitCodes); log.info("Found {} org units by codes", orgUnits.size()); return orgUnits; }