Skip to content

Commit f75370f

Browse files
authored
Merge pull request #99 from opengisch/fix-pagination-extraction
2 parents a750694 + 7d3d9eb commit f75370f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qfieldcloud_sdk/sdk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1875,8 +1875,8 @@ def _request_json(
18751875

18761876
query_params = urlparse.parse_qs(urlparse.urlparse(next_url).query)
18771877
pagination = Pagination(
1878-
limit=cast(int, query_params["limit"]),
1879-
offset=cast(int, query_params["offset"]),
1878+
limit=int(query_params["limit"][0]),
1879+
offset=int(query_params["offset"][0]),
18801880
)
18811881

18821882
return result

0 commit comments

Comments
 (0)