Fix bug due to typo in async pagination of entitlements loop

This commit is contained in:
Alex Nørgaard 2025-01-15 23:50:40 +00:00 committed by GitHub
parent 55974ebde8
commit cf6d7ff47a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2955,7 +2955,7 @@ class Client:
data, state, limit = await strategy(retrieve, state, limit)
# Terminate loop on next iteration; there's no data left after this
if len(data) < 1000:
if len(data) < 100:
limit = 0
for e in data:

View File

@ -239,7 +239,7 @@ class SKU:
data, state, limit = await strategy(retrieve, state, limit)
# Terminate loop on next iteration; there's no data left after this
if len(data) < 1000:
if len(data) < 100:
limit = 0
for e in data: