mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-05-31 04:05:40 -04:00
Fix get podcast library items endpoint when not including a limit query param #4014
This commit is contained in:
parent
565eb423ee
commit
7919a8b581
@ -112,7 +112,7 @@ module.exports = {
|
|||||||
countCache.set(cacheKey, count)
|
countCache.set(cacheKey, count)
|
||||||
}
|
}
|
||||||
|
|
||||||
findOptions.limit = limit
|
findOptions.limit = limit || null
|
||||||
findOptions.offset = offset
|
findOptions.offset = offset
|
||||||
|
|
||||||
const rows = await model.findAll(findOptions)
|
const rows = await model.findAll(findOptions)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user