Skip to content

Commit

Permalink
#219 [refactor] userId -> modelId 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hellozo0 committed Feb 2, 2024
1 parent 3a99600 commit 0e53317
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public class OfferController {
@GetMapping("/model")
@SecurityRequirement(name = "JWT Auth")
public SuccessResponse<ModelMainOfferResponse> getModelMainInfo(
@Parameter(hidden = true) @UserId Long userId,
@Parameter(hidden = true) @UserId Long modelId,
@Parameter(name = "page", description = "페이지 ") @RequestParam(value = "page") int page,
@Parameter(name = "size", description = "페이지 ") @RequestParam(value = "size") int size) {
return SuccessResponse.success(SuccessCode.FIND_MODEL_MAIN_INFO_SUCCESS, hairServiceOfferRetrieveService.getModelMainOfferInfo(userId, page, size));
return SuccessResponse.success(SuccessCode.FIND_MODEL_MAIN_INFO_SUCCESS, hairServiceOfferRetrieveService.getModelMainOfferInfo(modelId, page, size));
}
}

0 comments on commit 0e53317

Please sign in to comment.