Skip to content

Commit

Permalink
Merge pull request #268 from 9oormthon-univ/refactor/#264
Browse files Browse the repository at this point in the history
fix: search detail category 응답값 수정
  • Loading branch information
koosco authored Dec 6, 2024
2 parents dfe6b0f + d4e6738 commit 782a23a
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 782a23a

Please sign in to comment.