Skip to content

Commit 2ef0a44

Browse files
authored
Update NotificationMapper.java
1 parent bd6a8c9 commit 2ef0a44

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/clap/server/application/mapper/NotificationMapper.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ public static FindNotificationListResponse toFindNoticeListResponse(Notification
2323
public static SliceResponse<FindNotificationListResponse> toSliceOfFindNoticeListResponse(Slice<FindNotificationListResponse> slice) {
2424
return new SliceResponse<>(
2525
slice.getContent(),
26-
slice.getNumber(),
27-
slice.getSize(),
26+
slice.hasNext(),
2827
slice.isFirst(),
2928
slice.isLast()
3029
);

0 commit comments

Comments
 (0)