Fix stripchat pagination

This commit is contained in:
0xb00bface 2021-04-13 20:25:40 +02:00
parent 9828945ea4
commit 5eafd07d97
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public class StripchatUpdateService extends PaginatedScheduledService {
return Collections.emptyList();
} else {
int offset = (getPage() - 1) * modelsPerPage;
int limit = offset + modelsPerPage;
int limit = modelsPerPage;
String paginatedUrl = url + "&offset=" + offset + "&limit=" + limit;
LOG.debug("Fetching page {}", paginatedUrl);
if(loginRequired) {