diff --git a/src/main/java/com/groom/orbit/goal/app/query/GoalSearchService.java b/src/main/java/com/groom/orbit/goal/app/query/GoalSearchService.java index de96077..1307b85 100644 --- a/src/main/java/com/groom/orbit/goal/app/query/GoalSearchService.java +++ b/src/main/java/com/groom/orbit/goal/app/query/GoalSearchService.java @@ -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 memberGoals) {