Skip to content

Commit

Permalink
chore - #196 banner service에서 repository 형식 바꾸기
Browse files Browse the repository at this point in the history
  • Loading branch information
jumining committed Nov 20, 2024
1 parent 6156d35 commit bfd12cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/sopt/org/hmh/domain/banner/BannerService.java
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bfd12cc

Please sign in to comment.