From 93d60f25ec2993fc18c7d5910dd79277ccaa5869 Mon Sep 17 00:00:00 2001 From: SangYeong Park <107484383+Imsyp@users.noreply.github.com> Date: Sat, 21 Sep 2024 15:03:59 +0900 Subject: [PATCH] Update PriceService.java --- server/src/main/java/com/swdc/server/service/PriceService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/com/swdc/server/service/PriceService.java b/server/src/main/java/com/swdc/server/service/PriceService.java index 92a09f9..951d4a0 100644 --- a/server/src/main/java/com/swdc/server/service/PriceService.java +++ b/server/src/main/java/com/swdc/server/service/PriceService.java @@ -46,7 +46,7 @@ public class PriceService { */ public Price getProductDetails(String platform, String category_name, String product_id) { Path fileSystemPath = Paths.get(BASE_PATH); - Path productPath = fileSystemPath.resolve(platform).resolve(category_name).resolve(product_id); + Path productPath = fileSystemPath.resolve(platform).resolve(category_name).resolve(product_id + ".txt"); List> prices = new ArrayList<>();