Fix:Get all items api endpoint support providing no limit #2067

This commit is contained in:
advplyr 2023-09-09 15:01:58 -05:00
parent e2cca60853
commit 98d9fd8c32
2 changed files with 2 additions and 2 deletions

View File

@ -566,7 +566,7 @@ module.exports = {
],
order: sortOrder,
subQuery: false,
limit,
limit: limit || null,
offset
})

View File

@ -166,7 +166,7 @@ module.exports = {
],
order: this.getOrder(sortBy, sortDesc),
subQuery: false,
limit,
limit: limit || null,
offset
})