Skip to content

Commit

Permalink
Merge pull request #57 from lotteon2/develop
Browse files Browse the repository at this point in the history
[FIX] removed sort
  • Loading branch information
PlayEnergy authored Jan 15, 2024
2 parents 2de17d2 + f9082a7 commit 47cf422
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public ResponseEntity<ReadAllCategoryListResponse> readAllCategories() {
}

@GetMapping("/page/categories")
public ResponseEntity<ReadCategoryPageResponse> readCategoryPages(@PageableDefault(sort = "updatedAt", direction = Sort.Direction.DESC) Pageable pageable) {
public ResponseEntity<ReadCategoryPageResponse> readCategoryPages(Pageable pageable) {
return ResponseEntity.status(HttpStatus.OK).body(categoryService.readCategoryPages(pageable));
}

Expand Down

0 comments on commit 47cf422

Please sign in to comment.