Skip to content

Commit

Permalink
NABI-205--refactor : uri 안바뀌게 pathvariable name 부여
Browse files Browse the repository at this point in the history
  • Loading branch information
born-A committed Nov 14, 2023
1 parent 03542d1 commit 7e4b217
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ public ResponseEntity<SingleResult<CardListReadPagingResponseDTO>> getCardsByCon
return ResponseEntity.ok(ResponseFactory.getSingleResult(cardListReadPagingResponseDTO));
}

@GetMapping("/{targetCardId}/available-cards")
@GetMapping("/{cardId}/available-cards")
public ResponseEntity<SingleResult<CardListResponseDTO<SuggestionAvailableCardResponseDTO>>> getSuggestionAvailableCards(
@RequestHeader(name = "Authorization") String token,
@PathVariable Long targetCardId
@PathVariable(name = "cardId") Long targetCardId
) {
CardListResponseDTO<SuggestionAvailableCardResponseDTO> cardListResponseDTO
= cardService.getSuggestionAvailableCards(token, targetCardId);
Expand Down

0 comments on commit 7e4b217

Please sign in to comment.