mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Fix bug due to typo in async pagination of entitlements loop
This commit is contained in:
parent
55974ebde8
commit
cf6d7ff47a
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user