Skip to content

Commit

Permalink
Merge pull request #40 from Team-UniVoice/softmoca-patch-3
Browse files Browse the repository at this point in the history
Update UniversityDataController.java
  • Loading branch information
softmoca authored Jul 14, 2024
2 parents 74ea91b + 85a3fac commit ab7e4b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public ResponseEntity<SuccessStatusResponse<List<String>>> getAllUniversityNames
public ResponseEntity<SuccessStatusResponse<List<String>>> getDepartmentNamesByUniversity(@RequestBody UniversityNameRequest universityNameRequest) {
List<String> departmentNames = universityDataService.getDepartmentNamesByUniversity(universityNameRequest.getUniversityName());
return ResponseEntity.status(HttpStatus.OK)
.body(SuccessStatusResponse.of(SuccessMessage.UNIVERSITY_GET_SUCCESS, departmentNames));
.body(SuccessStatusResponse.of(SuccessMessage.DEPARTMENT_GET_SUCCESS, departmentNames));
}


Expand Down

0 comments on commit ab7e4b3

Please sign in to comment.