mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
parent
6821ab9e44
commit
4088857d67
@ -39,7 +39,7 @@ class EditionListActions {
|
||||
|
||||
return Q.Promise((resolve, reject) => {
|
||||
EditionListFetcher
|
||||
.fetch({ pieceId, page, itemsToFetch, orderBy, orderAsc, filterBy })
|
||||
.fetch({ pieceId, page, orderBy, orderAsc, filterBy, pageSize: itemsToFetch })
|
||||
.then((res) => {
|
||||
if (res && !res.editions) {
|
||||
throw new Error('Piece has no editions to fetch.');
|
||||
|
Loading…
Reference in New Issue
Block a user