Skip to content

Commit 43371b6

Browse files
committed
to uppercase to of location for query param
1 parent 21319f9 commit 43371b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/edu/tamu/app/controller/NotificationController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public ApiResponse remove(@ApiValidatedModel Notification notification) {
6868
@SkipAop
6969
@RequestMapping("/notification/active")
7070
public String getActiveNotifications(@RequestParam(value = "location", defaultValue = "ALL") String location) {
71-
return buildNotificationHtml(notificationRepo.activeNotificationsByLocation(location.toLowerCase()));
71+
return buildNotificationHtml(notificationRepo.activeNotificationsByLocation(location.toUpperCase()));
7272
}
7373

7474
private String buildNotificationHtml(List<Notification> notifications) {

0 commit comments

Comments
 (0)