Skip to content

Commit

Permalink
feat:stop duplicating scrap count
Browse files Browse the repository at this point in the history
and add maxPage
  • Loading branch information
jimmy0006 committed Apr 16, 2024
1 parent 688937f commit b847a19
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/org/poolc/api/scrap/service/ScrapService.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@
import org.poolc.api.post.domain.Post;
import org.poolc.api.post.dto.GetBoardResponse;
import org.poolc.api.post.dto.GetPostsResponse;
import org.poolc.api.post.dto.PostResponse;
import org.poolc.api.post.service.PostService;
import org.poolc.api.scrap.domain.Scrap;
import org.poolc.api.scrap.repository.ScrapRepository;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.NoSuchElementException;
import java.util.stream.Collectors;

Expand Down

0 comments on commit b847a19

Please sign in to comment.