Skip to content

Commit

Permalink
HOTFIX: 찾았다 범인. 응답 필드명
Browse files Browse the repository at this point in the history
  • Loading branch information
koreaioi authored Feb 4, 2025
1 parent 36277a9 commit e9477d3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

@Builder
public record FriendsPageableResponse(
int pageNum,
int pageNumber,
int pageSize,
int numberOfElements,
boolean last
) {
public static FriendsPageableResponse from(Slice<Friends> slice) {
return FriendsPageableResponse.builder()
.pageNum(slice.getNumber())
.pageNumber(slice.getNumber())
.pageSize(slice.getSize())
.numberOfElements(slice.getNumberOfElements())
.last(slice.isLast())
Expand Down

0 comments on commit e9477d3

Please sign in to comment.