diff --git a/graphene_django_extras/paginations/pagination.py b/graphene_django_extras/paginations/pagination.py index fd93460..57a93e5 100644 --- a/graphene_django_extras/paginations/pagination.py +++ b/graphene_django_extras/paginations/pagination.py @@ -160,7 +160,7 @@ def paginate_queryset(self, qs, **kwargs): page = kwargs.pop(self.page_query_param, 1) if self.page_size_query_param: page_size = _nonzero_int( - kwargs.get(self.page_size_query_param, None), + kwargs.get(self.page_size_query_param, self.page_size), strict=True, cutoff=self.max_page_size )