Commit 71113ebf authored by Vincent Ardisson's avatar Vincent Ardisson Committed by Vincent A

[lunchr] enforce per-page quantity

parent f74675a3
......@@ -82,7 +82,7 @@ class LunchrBrowser(APIBrowser):
def iter_history(self, account):
page = 0
while True:
response ='/api/v0/payments_history?page={:d}'.format(page))
response ='/api/v0/payments_history?page={:d}&per=20'.format(page))
json = response.json()
if len(Dict('payments_history')(json)) == 0:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment