From eacb340f51cddd02da0e10268a223d27d032dbf0 Mon Sep 17 00:00:00 2001 From: Kamal Mohammed Date: Fri, 13 Sep 2024 04:13:07 +0530 Subject: [PATCH 1/2] Update DistrictController.java (#352) --- .../bc/gov/educ/api/trax/controller/DistrictController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/main/java/ca/bc/gov/educ/api/trax/controller/DistrictController.java b/api/src/main/java/ca/bc/gov/educ/api/trax/controller/DistrictController.java index a3425cd0..0b7bce83 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/trax/controller/DistrictController.java +++ b/api/src/main/java/ca/bc/gov/educ/api/trax/controller/DistrictController.java @@ -35,9 +35,9 @@ public class DistrictController { @PreAuthorize(PermissionsConstants.READ_SCHOOL_DATA) @Operation(summary = "Find a District by District Number", description = "Get District by District Number", tags = { "District" }) @ApiResponses(value = {@ApiResponse(responseCode = "200", description = "OK")}) - public ResponseEntity getDistrictDetails(@PathVariable String distCode) { - if(distCode.length() <=3) { - District distResponse = districtService.getDistrictDetails(distCode); + public ResponseEntity getDistrictDetails(@PathVariable String distNo) { + if(distNo.length() <=3) { + District distResponse = districtService.getDistrictDetails(distNo); if (distResponse != null) { return response.GET(distResponse); } From 6847ddbef58ede5ae78683f161efba8b4a605bdf Mon Sep 17 00:00:00 2001 From: githubmamatha <106563495+githubmamatha@users.noreply.github.com> Date: Mon, 16 Sep 2024 12:25:19 -0700 Subject: [PATCH 2/2] Update pom.xml --- api/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/pom.xml b/api/pom.xml index 67960af1..7eeb23cb 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -6,7 +6,7 @@ ca.bc.gov.educ educ-grad-trax-api - 1.8.58 + 1.8.59 educ-grad-trax-api Ministry of Education GRAD TRAX API