File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/com/mindway/server/v2
domain/order/presentation Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 14
14
public class OrdersController {
15
15
private final BookRequestService bookRequestService ;
16
16
17
- @ PostMapping ("/list" )
17
+ @ PostMapping ()
18
18
public ResponseEntity <Void > bookRequest
19
19
(@ RequestParam BookType type , @ RequestBody @ Valid OrderRequest bookRequest ) {
20
20
bookRequestService .execute (type , bookRequest );
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
54
54
.requestMatchers (HttpMethod .GET , "/api/v2/my" ).authenticated ()
55
55
56
56
// orders
57
- .requestMatchers (HttpMethod .POST , "/api/v2/order/{type} " ).authenticated ()
57
+ .requestMatchers (HttpMethod .POST , "/api/v2/order" ).authenticated ()
58
58
59
59
.anyRequest ().authenticated ()
60
60
)
You can’t perform that action at this time.
0 commit comments