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 5d83483 commit 4675886Copy full SHA for 4675886
src/main/java/com/amigoscode/product/ProductService.java
@@ -51,7 +51,7 @@ public UUID saveNewProduct(NewProductRequest product) {
51
product.stockLevel()
52
);
53
productRepository.save(newProduct);
54
- return null;
+ return id;
55
}
56
57
Function<Product, ProductResponse> mapToResponse() {
0 commit comments