Skip to content

Commit fcc429d

Browse files
authored
Update NotificationMapper.java
1 parent e200461 commit fcc429d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

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

0 commit comments

Comments
 (0)