minor fix

This commit is contained in:
DOHA 2018-05-17 13:20:43 +02:00
parent bd9f672239
commit 70cc4ba459
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public class CustomerController {
return customerService.getCustomerDetail(customerId);
}
@RequestMapping(value = "/{customerId}/{orderId}")
@RequestMapping(value = "/{customerId}/{orderId}", method = RequestMethod.GET)
public Order getOrderById(@PathVariable final String customerId, @PathVariable final String orderId) {
return orderService.getOrderByIdForCustomer(customerId, orderId);
}