From 923270f2118ff2653a9d1a3410015aa3467b2bed Mon Sep 17 00:00:00 2001 From: sungHeeLee <70899677+hee9841@users.noreply.github.com> Date: Wed, 25 Dec 2024 21:51:07 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=EC=B1=8C=EB=A6=B0=EC=A7=80=20=EB=AA=A9?= =?UTF-8?q?=ED=91=9C=EA=B0=92=EC=9D=B4=20=EA=B8=B0=EB=B3=B8=20=EB=AA=A9?= =?UTF-8?q?=ED=91=9C=EA=B0=92=EC=9C=BC=EB=A1=9C=20=EB=A6=AC=ED=84=B4?= =?UTF-8?q?=ED=95=98=EB=8A=94=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95(?= =?UTF-8?q?=EB=B9=84=EA=B5=90=EA=B0=92=EC=9C=BC=EB=A1=9C=20=EB=A6=AC?= =?UTF-8?q?=ED=84=B4=EB=90=98=EC=96=B4=EC=95=BC=EB=90=A8)=20(#325)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../v1/challenge/dto/response/ChallengesResponse.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/dnd/runus/presentation/v1/challenge/dto/response/ChallengesResponse.java b/src/main/java/com/dnd/runus/presentation/v1/challenge/dto/response/ChallengesResponse.java index 9d8b4da4..3edc2db9 100644 --- a/src/main/java/com/dnd/runus/presentation/v1/challenge/dto/response/ChallengesResponse.java +++ b/src/main/java/com/dnd/runus/presentation/v1/challenge/dto/response/ChallengesResponse.java @@ -49,8 +49,8 @@ public static ChallengesResponse from(ChallengeWithCondition challengeWithCondit challenge.formatExpectedTime(), challenge.imageUrl(), condition.goalMetricType(), - condition.goalMetricType().equals(GoalMetricType.DISTANCE) ? calMeterToKm(condition.goalValue()) : null, - condition.goalMetricType().equals(GoalMetricType.TIME) ? condition.goalValue() : null + condition.goalMetricType().equals(GoalMetricType.DISTANCE) ? calMeterToKm(condition.comparisonValue()) : null, + condition.goalMetricType().equals(GoalMetricType.TIME) ? condition.comparisonValue() : null ); }