Skip to content

Commit

Permalink
fix: get portfolio detail pathvariable
Browse files Browse the repository at this point in the history
  • Loading branch information
daeun084 committed Mar 26, 2024
1 parent 6c676b1 commit b932d83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public ApiResponse getPortfolio(@PathVariable(name = "artistId") Long artistId,

@Operation(summary = "포트폴리오 조회", description = "특정 포트폴리오를 조회하는 API입니다.")
@GetMapping("/details/{userId}/{portfolioId}")
public ApiResponse getPortfolioDetails(@PathVariable(name = "portfolioId") Long userId, @PathVariable Long portfolioId) {
public ApiResponse getPortfolioDetails(@PathVariable(name = "userId") Long userId, @PathVariable(name = "portfolioId") Long portfolioId) {
return ApiResponse.SuccessResponse(SuccessStatus.PORTFOLIO_GET, portfolioService.getPortfolioDetails(userId, portfolioId));
}

Expand Down

0 comments on commit b932d83

Please sign in to comment.