diff --git a/src/main/java/sopt/org/hmh/domain/banner/BannerService.java b/src/main/java/sopt/org/hmh/domain/banner/BannerService.java index ac0e7f9..e548f7b 100644 --- a/src/main/java/sopt/org/hmh/domain/banner/BannerService.java +++ b/src/main/java/sopt/org/hmh/domain/banner/BannerService.java @@ -4,13 +4,12 @@ import org.springframework.stereotype.Service; import sopt.org.hmh.domain.banner.exception.BannerError; import sopt.org.hmh.domain.banner.exception.BannerException; -import sopt.org.hmh.domain.banner.repository.BannerRepository; @Service @RequiredArgsConstructor public class BannerService { - private final BannerRepository bannerRepository; + private final BannerJpaRepository bannerRepository; public BannerResponse getBanner() { return bannerRepository.findTopByOrderByIdAsc()