Skip to content

Commit f0a15e6

Browse files
committed
fix bug
1 parent 0bac93e commit f0a15e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/amigoscode/product/ProductService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public UUID saveNewProduct(NewProductRequest product) {
5656
product.stockLevel()
5757
);
5858
productRepository.save(newProduct);
59-
return null;
59+
return id;
6060
}
6161

6262
public UUID saveNewProductWithImage(String name, String description, String price, String stockLevel, MultipartFile image) {

0 commit comments

Comments
 (0)