mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-16 18:11:00 +02:00
Fix:Error adding new series if a series has a null title #3622
This commit is contained in:
@ -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: {
|
||||
|
Reference in New Issue
Block a user