Skip to content

Commit

Permalink
merge: 인기케이크 조회 api url 수정 - #89
Browse files Browse the repository at this point in the history
[FIX] 인기케이크 조회 api url 수정 - #89
  • Loading branch information
sjk4618 authored Jan 20, 2025
2 parents cc0f45f + 86348a9 commit dad4470
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public ResponseEntity<BaseResponse<?>> getPopularCakesByStationStore(
cakeService.getPopularCakesByStationStore(userId, station, cakeLikesCursor,cakeIdCursor, size));
}

@GetMapping("/Rank")
public ResponseEntity<BaseResponse<?>> getRankCakesByStationStore(@RequestHeader(required = false) final Long userId) {
@GetMapping("/rank")
public ResponseEntity<BaseResponse<?>> getRankCakesByStationStore(@UserId final Long userId) {
return ApiResponseUtil.success(SuccessCode.OK,
cakeService.getCakeByRank(userId));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public ResponseEntity<BaseResponse<?>> getKakaoLink(@PathVariable("storeId") fin

@GetMapping("/{storeId}/design")
public ResponseEntity<BaseResponse<?>> getAllDesign(@PathVariable("storeId") final Long storeId,
@RequestHeader(required = false) final Long userId) {
@UserId final Long userId) {
return ApiResponseUtil.success(SuccessCode.OK, storeService.getStoreAllDesign(storeId, userId));
}

Expand Down

0 comments on commit dad4470

Please sign in to comment.