Skip to content

Commit

Permalink
#18 [Fix] 페이징된 업장 DTO 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JSoi committed Jul 31, 2022
1 parent a31e29b commit 3fed251
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class StorePagedResponseDto {

public StorePagedResponseDto(Page<Store> resultStoreList, List<StoreCardResponseDto> cards) {
this.hasNextPage = resultStoreList.hasNext();
this.totalPage = resultStoreList.getTotalPages();
this.totalPage = resultStoreList.getTotalPages() - 1;
this.cards = cards;
this.totalCount = resultStoreList.getTotalElements();
this.page = resultStoreList.getNumber();
Expand Down

0 comments on commit 3fed251

Please sign in to comment.