Unverified Commit d3666a4c authored by Sander van Harmelen's avatar Sander van Harmelen Committed by GitHub

Merge pull request #532 from ticketmaster/master

handle paginated results that are only one page
parents 52d66482 5dbc6f7e
......@@ -30,7 +30,7 @@ func pagination() {
}
// Exit the loop when we've seen all pages.
if opt.Page >= resp.TotalPages {
if resp.CurrentPage >= resp.TotalPages {
break
}
......
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