Skip to content

Commit

Permalink
MOA-510: 회원id 뺄필요없음
Browse files Browse the repository at this point in the history
  • Loading branch information
shin-mallang committed Mar 4, 2024
1 parent 403d94e commit 0365f30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/src/main/java/moa/order/OrderController.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
Expand Down Expand Up @@ -55,7 +54,7 @@ public ResponseEntity<Void> cancelCoupon(

@GetMapping
public ResponseEntity<PageResponse<OrderResponse>> findOrders(
@RequestParam("memberId") Long memberId,
@Auth(permit = {SIGNED_UP}) Long memberId,
@PageableDefault(size = 10, sort = "createdDate", direction = DESC) Pageable pageable
) {
Page<OrderResponse> result = orderQueryService.findMyOrders(memberId, pageable);
Expand Down

0 comments on commit 0365f30

Please sign in to comment.