Skip to content

Commit

Permalink
refactor: api url 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
TaeyeonRoyce committed Feb 1, 2024
1 parent 6ebd653 commit 019cef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class CartProductController(
return ResponseEntity.created(location).build()
}

@PatchMapping("/items/{cartProductId}/options")
@PatchMapping("/products/{cartProductId}/options")
fun updateOptions(
@Auth loginMember: LoginMember,
@PathVariable cartProductId: Long,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fun requestUpdateCartProductOption(
.header(HttpHeaders.AUTHORIZATION, accessToken)
.contentType("application/json")
} When {
patch("/carts/items/{cartProductId}/options", cartProductId)
patch("/carts/products/{cartProductId}/options", cartProductId)
} Then {
log().all()
} Extract {
Expand Down

0 comments on commit 019cef9

Please sign in to comment.