Update ProductController.java
This commit is contained in:
@@ -11,7 +11,7 @@ public class ProductController {
|
||||
@Autowired
|
||||
ProductService productService;
|
||||
|
||||
@GetMapping("/product/{productId}")
|
||||
@GetMapping("/item/{productId}")
|
||||
Product productStockCheck(@PathVariable(value = "productId") Long productId) {
|
||||
return this.productService.getProductById(productId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user