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 446d06f commit ecb02ddCopy full SHA for ecb02dd
src/main/java/com/amigoscode/product/ProductService.java
@@ -57,7 +57,7 @@ public UUID saveNewProduct(NewProductRequest product) {
57
Function<Product, ProductResponse> mapToResponse() {
58
return p -> new ProductResponse(
59
p.getId(),
60
- "foo",
+ p.getName(),
61
p.getDescription(),
62
p.getPrice(),
63
p.getImageUrl(),
0 commit comments