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 ); }