Refactor: Use 30 as default api-fetch

This commit is contained in:
winkidney
2019-11-29 12:26:50 +08:00
committed by Isaac Bythewood
parent 437c802b42
commit a21bb26dd1

View File

@@ -7,7 +7,7 @@ function fetchPins(offset, tagFilter, userFilter) {
const queryArgs = { const queryArgs = {
format: 'json', format: 'json',
ordering: '-id', ordering: '-id',
limit: 50, limit: 30,
offset, offset,
}; };
if (tagFilter) queryArgs.tags__name = tagFilter; if (tagFilter) queryArgs.tags__name = tagFilter;