Skip to content

Commit

Permalink
fix load all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
saleweaver committed Dec 20, 2024
1 parent bc2322d commit baab0dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sp_api/util/load_all_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def wrapper(*args, **kwargs):
time.sleep(sleep_time)
if next_token_only:
kwargs = {next_token_param: res.next_token}
else:
kwargs.update({next_token_param: res.next_token, **extras})
else:
kwargs.update({next_token_param: res.next_token, **extras})
else:
done = True

Expand Down

0 comments on commit baab0dd

Please sign in to comment.