mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-04-24 14:37:14 -04:00
Fix:Error adding new series if a series has a null title #3622
This commit is contained in:
parent
778256ca16
commit
a5e38d1473
3 changed files with 7 additions and 4 deletions
|
@ -662,7 +662,7 @@ module.exports = {
|
|||
},
|
||||
attributes: ['id', 'name']
|
||||
})
|
||||
series.forEach((s) => data.series.push({ id: s.id, name: s.name }))
|
||||
series.forEach((s) => data.series.push({ id: s.id, name: s.name || 'No Title' }))
|
||||
|
||||
const authors = await Database.authorModel.findAll({
|
||||
where: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue