Skip to content

Commit

Permalink
Video, Article Default Size 수정 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
limehee committed Jul 25, 2024
1 parent d5822cb commit abc336f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public ApiResponse<Long> registerArticle(
@GetMapping("/api/v1/articles")
public ApiResponse<PagedResponseDto<ArticleResponseDto>> getArticles(
@RequestParam(name = "page", defaultValue = "0") int page,
@RequestParam(name = "size", defaultValue = "20") int size,
@RequestParam(name = "size", defaultValue = "3") int size,
@RequestParam(name = "sortBy", defaultValue = "createdAt") List<String> sortBy,
@RequestParam(name = "sortDirection", defaultValue = "desc") List<String> sortDirection
) throws InvalidColumnException, SortingArgumentException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public ApiResponse<Long> registerVideo(
@GetMapping("/api/v1/videos")
public ApiResponse<PagedResponseDto<VideoResponseDto>> getVideos(
@RequestParam(name = "page", defaultValue = "0") int page,
@RequestParam(name = "size", defaultValue = "20") int size,
@RequestParam(name = "size", defaultValue = "2") int size,
@RequestParam(name = "sortBy", defaultValue = "createdAt") List<String> sortBy,
@RequestParam(name = "sortDirection", defaultValue = "desc") List<String> sortDirection
) throws InvalidColumnException, SortingArgumentException {
Expand Down

0 comments on commit abc336f

Please sign in to comment.