Skip to content

Commit

Permalink
HOTFIX: RequestParam 타입 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
koreaioi authored Feb 4, 2025
1 parent bae896f commit 36277a9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ public ApiResponse<Void> sendFriendRequest(
@Operation(summary = "친구 목록을 반환하는 API입니다. (무한스크롤)")
public ApiResponse<FriendsSliceResponse> getFriendsList(
@CurrentMemberId Long memberId,
@RequestParam String pageNum,
@RequestParam String pageSize
@RequestParam int pageNum,
@RequestParam int pageSize
){
FriendsSliceResponse response = friendService.findFriendsListByMemberId(memberId, Integer.parseInt(pageNum), Integer.parseInt(pageSize));
FriendsSliceResponse response = friendService.findFriendsListByMemberId(memberId, pageNum, pageSize);
return ApiResponse.response(OK, FRIEND_LIST_SUCCESS.getMessage(), response);
}

Expand Down

0 comments on commit 36277a9

Please sign in to comment.