diff --git a/be/src/main/java/yeonba/be/notification/controller/NotificationController.java b/be/src/main/java/yeonba/be/notification/controller/NotificationController.java index c4e1ba7f..cbc99367 100644 --- a/be/src/main/java/yeonba/be/notification/controller/NotificationController.java +++ b/be/src/main/java/yeonba/be/notification/controller/NotificationController.java @@ -30,7 +30,7 @@ public class NotificationController { public ResponseEntity> getRecentlyReceivedNotifications( @RequestAttribute("userId") long userId, - @Valid @RequestBody NotificationPageRequest request) { + @Valid @RequestBody(required = false) NotificationPageRequest request) { NotificationPageResponse response = notificationService.getRecentlyReceivedNotificationsBy(userId, request);