diff options
Diffstat (limited to 'src/main/scala/xyz/driver/core')
-rw-r--r-- | src/main/scala/xyz/driver/core/rest/package.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/xyz/driver/core/rest/package.scala b/src/main/scala/xyz/driver/core/rest/package.scala index fb5f4ec..e3c0c40 100644 --- a/src/main/scala/xyz/driver/core/rest/package.scala +++ b/src/main/scala/xyz/driver/core/rest/package.scala @@ -226,7 +226,7 @@ object `package` { case (_, _) => throw new IllegalArgumentException("Pagination's parameters are incorrect") } - val optionalPaginated: Directive1[Option[Pagination]] = + val optionalPagination: Directive1[Option[Pagination]] = parameters(("pageSize".as[Int].?, "pageNumber".as[Int].?)).as(extractPagination) def paginationQuery(pagination: Pagination) = |