diff --git a/backend/src/main/java/wooteco/prolog/studylog/application/FilterService.java b/backend/src/main/java/wooteco/prolog/studylog/application/FilterService.java index 6736f1d8f..8a5a59daa 100644 --- a/backend/src/main/java/wooteco/prolog/studylog/application/FilterService.java +++ b/backend/src/main/java/wooteco/prolog/studylog/application/FilterService.java @@ -4,14 +4,11 @@ import lombok.AllArgsConstructor; import org.springframework.stereotype.Service; import wooteco.prolog.login.ui.LoginMember; -import wooteco.prolog.member.application.MemberService; -import wooteco.prolog.member.application.dto.MemberResponse; import wooteco.prolog.session.application.MissionService; import wooteco.prolog.session.application.SessionService; import wooteco.prolog.session.application.dto.MissionResponse; import wooteco.prolog.session.application.dto.SessionResponse; import wooteco.prolog.studylog.application.dto.FilterResponse; -import wooteco.prolog.studylog.application.dto.TagResponse; @Service @AllArgsConstructor @@ -19,17 +16,12 @@ public class FilterService { private final SessionService sessionService; private final MissionService missionService; - private final TagService tagService; - private final MemberService memberService; public FilterResponse showAll(LoginMember loginMember) { List sessionResponses = sessionService.findAllWithMySessionFirst( loginMember); // my session으로 대체 List missionResponses = missionService.findAllWithMyMissionFirst( loginMember); - List tagResponses = tagService.findTagsIncludedInStudylogs(); - List memberResponses = memberService.findAllOrderByNickNameAsc(); - return new FilterResponse(sessionResponses, missionResponses, tagResponses, - memberResponses); + return new FilterResponse(sessionResponses, missionResponses); } } diff --git a/backend/src/main/java/wooteco/prolog/studylog/application/dto/FilterResponse.java b/backend/src/main/java/wooteco/prolog/studylog/application/dto/FilterResponse.java index bb1c90028..f30528276 100644 --- a/backend/src/main/java/wooteco/prolog/studylog/application/dto/FilterResponse.java +++ b/backend/src/main/java/wooteco/prolog/studylog/application/dto/FilterResponse.java @@ -4,7 +4,6 @@ import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; -import wooteco.prolog.member.application.dto.MemberResponse; import wooteco.prolog.session.application.dto.MissionResponse; import wooteco.prolog.session.application.dto.SessionResponse; @@ -15,6 +14,4 @@ public class FilterResponse { private List sessions; private List missions; - private List tags; - private List members; }