Skip to content

Commit

Permalink
Don't pass params for pagination requests (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
pederhan authored Oct 2, 2024
1 parent 2853ce7 commit b65ad63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mreg_cli/utilities/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def get_list_generic(
# Iterate over all pages and collect the results
ret: list[Json] = resp.results
while resp.next:
response = get(resp.next, params=params, ok404=ok404)
response = get(resp.next, ok404=ok404)
if response is None:
break
resp = validate_paginated_response(response)
Expand Down

0 comments on commit b65ad63

Please sign in to comment.