Skip to content

Commit

Permalink
feat: board 페이징 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
alexipharmical committed Aug 2, 2024
1 parent 94a956c commit 2015832
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import kr.hs.dgsw.SOPO_server_v2.global.error.custom.contest.ContestNotFound;
import kr.hs.dgsw.SOPO_server_v2.global.error.custom.member.MemberNotCoincideException;
import kr.hs.dgsw.SOPO_server_v2.global.infra.security.GetCurrentMember;
import kr.hs.dgsw.SOPO_server_v2.global.page.PageRequest;
import kr.hs.dgsw.SOPO_server_v2.global.response.Response;
import kr.hs.dgsw.SOPO_server_v2.global.response.ResponseData;
import lombok.RequiredArgsConstructor;
Expand All @@ -29,7 +28,7 @@ public class ContestService {
private final GetCurrentMember getCurrentMember;

// 대회 전체 조회
public ResponseData<List<ContestLoadRes>> getContests(PageRequest pageRequest) {
public ResponseData<List<ContestLoadRes>> getContests() {
List<ContestEntity> contestList = contestRepository.findAll();
List<ContestLoadRes> contestLoadRes = contestList.stream().map(
ContestLoadRes :: of
Expand Down

0 comments on commit 2015832

Please sign in to comment.