Skip to content

Commit

Permalink
refactor: 메서드명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ajy9851 committed Nov 8, 2024
1 parent 40c7898 commit 56dd002
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public ResponseEntity<GetCreatorOrderInfoRes> getCreatorOrderInfo(
// 가격 수정
@PutMapping("/price")
public ResponseEntity<Void> updateOrderPrice(
@LoginMember Member member, @RequestBody @Valid UpdateOrderPriceReq dto) {
@LoginMember Member member, @RequestBody @Valid UpdateOrderPriceReq dto) {
orderDetailService.updateOrderPrice(member, dto);
return ResponseEntity.ok().build();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package com.ordertogether.team14_be.order.details.dto.update;

public record UpdateOrderPriceReq(Long orderId, int price) {

}
public record UpdateOrderPriceReq(Long orderId, int price) {}

0 comments on commit 56dd002

Please sign in to comment.