Skip to content

Commit ecb02dd

Browse files
fix bug
1 parent 446d06f commit ecb02dd

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
@@ -57,7 +57,7 @@ public UUID saveNewProduct(NewProductRequest product) {
5757
Function<Product, ProductResponse> mapToResponse() {
5858
return p -> new ProductResponse(
5959
p.getId(),
60-
"foo",
60+
p.getName(),
6161
p.getDescription(),
6262
p.getPrice(),
6363
p.getImageUrl(),

0 commit comments

Comments
 (0)