From d2f4a29864653bea35557966f2a7fcf795788178 Mon Sep 17 00:00:00 2001 From: Igor Benav Date: Sun, 15 Sep 2024 23:25:47 -0300 Subject: [PATCH] typing fix --- fastcrud/endpoint/endpoint_creator.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fastcrud/endpoint/endpoint_creator.py b/fastcrud/endpoint/endpoint_creator.py index c285d51..f4f9694 100644 --- a/fastcrud/endpoint/endpoint_creator.py +++ b/fastcrud/endpoint/endpoint_creator.py @@ -368,7 +368,7 @@ async def endpoint( ) return paginated_response( crud_data=crud_data, - page=page, + page=page, # type: ignore items_per_page=items_per_page, # type: ignore ) @@ -378,9 +378,9 @@ async def endpoint( crud_data = await self.crud.get_multi( db, - offset=offset, - limit=limit, - **filters, # type: ignore + offset=offset, # type: ignore + limit=limit, # type: ignore + **filters, ) return crud_data # pragma: no cover