diff --git a/src/main/java/team7/inplace/video/service/VideoService.java b/src/main/java/team7/inplace/video/service/VideoService.java index 58747a30..7678a448 100644 --- a/src/main/java/team7/inplace/video/service/VideoService.java +++ b/src/main/java/team7/inplace/video/service/VideoService.java @@ -48,8 +48,7 @@ public class VideoService { public List findByInfluencer(List influencers){ // 인플루언서 정보 처리 - List savedInfluencers = influencerRepository.findByNameIn(influencers); - List influencerIds = savedInfluencers.stream() + List influencerIds = influencerRepository.findByNameIn(influencers).stream() .map(Influencer::getId) .toList();