We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bac93e commit f0a15e6Copy full SHA for f0a15e6
src/main/java/com/amigoscode/product/ProductService.java
@@ -56,7 +56,7 @@ public UUID saveNewProduct(NewProductRequest product) {
56
product.stockLevel()
57
);
58
productRepository.save(newProduct);
59
- return null;
+ return id;
60
}
61
62
public UUID saveNewProductWithImage(String name, String description, String price, String stockLevel, MultipartFile image) {
0 commit comments