Skip to content

Commit

Permalink
Merge pull request #43 from AlongTheBlue/develop
Browse files Browse the repository at this point in the history
[Fix] 카테고리 및 ApiResponse 메세지 수정
  • Loading branch information
MoonInbae authored Oct 13, 2024
2 parents 69a83bc + a13c3c3 commit e733b8c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -663,10 +663,10 @@ public ApiResponse<Page<SimpleInformation>> retrieveAll(int page, int size) {

// CustomPage 객체로 변환 (기존 페이지네이션 정보와 category를 함께 담음)
CustomPage<SimpleInformation> customPage = new CustomPage<>(
cafePage.getContent(), pageable, cafePage.getTotalElements(), Category.CAFE.getValue());
cafePage.getContent(), pageable, cafePage.getTotalElements(), Category.TOURDATA.getValue());

// ApiResponse로 반환
return ApiResponse.ok("카페 목록을 성공적으로 조회했습니다.", customPage);
return ApiResponse.ok("관광지 목록을 성공적으로 조회했습니다.", customPage);
}
}

0 comments on commit e733b8c

Please sign in to comment.