Skip to content

Commit d59bf56

Browse files
committed
remove pagination from decorator
1 parent 7040ffa commit d59bf56

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

api/schema/usecase_schema.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ def use_cases(
128128

129129
@strawberry_django.field(
130130
filters=UseCaseFilter,
131-
pagination=True,
132131
order=UseCaseOrder,
133132
)
134133
@trace_resolver(name="get_published_use_cases", attributes={"component": "usecase"})
@@ -150,7 +149,6 @@ def published_use_cases(
150149

151150
# Apply pagination
152151
if pagination is not strawberry.UNSET:
153-
# Get the offset and limit from pagination
154152
offset = getattr(pagination, "offset", 0) or 0
155153
limit = getattr(pagination, "limit", None)
156154

0 commit comments

Comments
 (0)