Set offset to be a multiple of 36

The server returns lists of 36 models, so we have to align our
offset to that.
This commit is contained in:
0xboobface 2018-11-06 23:15:44 +01:00
parent 091628b486
commit 2a5c0ccd43
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public class BongaCamsUpdateService extends PaginatedScheduledService {
return new Task<List<Model>>() { return new Task<List<Model>>() {
@Override @Override
public List<Model> call() throws IOException { public List<Model> call() throws IOException {
String _url = url + ((page-1) * 50); String _url = url + ((page-1) * 36);
LOG.debug("Fetching page {}", _url); LOG.debug("Fetching page {}", _url);
Request request = new Request.Builder() Request request = new Request.Builder()
.url(_url) .url(_url)