diff --git a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt index 7002598a4..f084b883f 100644 --- a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt +++ b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/BookController.kt @@ -183,7 +183,7 @@ class BookController( page, ).map { it.restrictUrl(!principal.user.roleAdmin) } - @PageableWithoutSortAsQueryParam + @PageableAsQueryParam @GetMapping("api/v1/books/duplicates") @PreAuthorize("hasRole('$ROLE_ADMIN')") fun getDuplicateBooks(