From 7fdf585fde44442d885ce1a835c769c658600897 Mon Sep 17 00:00:00 2001 From: Yujin1219 Date: Wed, 24 Sep 2025 13:56:10 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=EC=83=81=EC=84=B8=EC=A1=B0=ED=9A=8C=20?= =?UTF-8?q?=EC=98=81=EC=96=91=EC=A0=95=EB=B3=B4=20=EC=9D=91=EB=8B=B5?= =?UTF-8?q?=EA=B0=92=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DecodEat/domain/products/converter/ProductConverter.java | 2 ++ .../DecodEat/domain/products/dto/response/ProductDetailDto.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/com/DecodEat/domain/products/converter/ProductConverter.java b/src/main/java/com/DecodEat/domain/products/converter/ProductConverter.java index e4d46d0..40f3fbe 100644 --- a/src/main/java/com/DecodEat/domain/products/converter/ProductConverter.java +++ b/src/main/java/com/DecodEat/domain/products/converter/ProductConverter.java @@ -57,6 +57,8 @@ public static ProductDetailDto toProductDetailDto(Product product, .additives(nutrientsMap.get(ADDITIVES)) .others(nutrientsMap.get(OTHERS)) .allergens(nutrientsMap.get(ALLERGENS)) + .solubleDietaryFibers(nutrientsMap.get(SOLUBLE_DIETARY_FIBER)) + .insolubleDietaryFibers(nutrientsMap.get(INSOLUBLE_DIETARY_FIBER)) .build(); } diff --git a/src/main/java/com/DecodEat/domain/products/dto/response/ProductDetailDto.java b/src/main/java/com/DecodEat/domain/products/dto/response/ProductDetailDto.java index 5a70fb1..8f1ca5d 100644 --- a/src/main/java/com/DecodEat/domain/products/dto/response/ProductDetailDto.java +++ b/src/main/java/com/DecodEat/domain/products/dto/response/ProductDetailDto.java @@ -46,6 +46,8 @@ public class ProductDetailDto { private List refinedCarbs; private List additives; private List allergens; + private List solubleDietaryFibers; + private List insolubleDietaryFibers; private List others; }