Skip to content

Commit

Permalink
feat: 최근 받은 알림 목록 조회시 request body optional하게 수정(#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
Minjae-An committed May 11, 2024
1 parent 4b428f7 commit 47566a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class NotificationController {
public ResponseEntity<CustomResponse<NotificationPageResponse>>
getRecentlyReceivedNotifications(
@RequestAttribute("userId") long userId,
@Valid @RequestBody NotificationPageRequest request) {
@Valid @RequestBody(required = false) NotificationPageRequest request) {

NotificationPageResponse response =
notificationService.getRecentlyReceivedNotificationsBy(userId, request);
Expand Down

0 comments on commit 47566a3

Please sign in to comment.