Skip to content

Commit

Permalink
fix: search detail category 응답값 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
koosco committed Dec 6, 2024
1 parent 2f175a5 commit d4e6738
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ public GoalSearchDetailResponseDto findGoal(Long goalId) {
.map(Quest::getTitle)
.toList();

return new GoalSearchDetailResponseDto(
goal.getCategory().getCategory(), goal.getTitle(), questTitles);
return new GoalSearchDetailResponseDto(goal.getCategory().name(), goal.getTitle(), questTitles);
}

private static Goal findGoal(List<MemberGoal> memberGoals) {
Expand Down

0 comments on commit d4e6738

Please sign in to comment.