mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-02 17:24:57 +02:00
Update author and series to include libraryId
This commit is contained in:
parent
0ac63b2678
commit
0a179e4eed
3 changed files with 7 additions and 3 deletions
|
@ -14,6 +14,7 @@ module.exports = (sequelize) => {
|
|||
id: this.id,
|
||||
name: this.name,
|
||||
description: this.description,
|
||||
libraryId: this.libraryId,
|
||||
addedAt: this.createdAt.valueOf(),
|
||||
updatedAt: this.updatedAt.valueOf()
|
||||
})
|
||||
|
@ -42,7 +43,8 @@ module.exports = (sequelize) => {
|
|||
return {
|
||||
id: oldSeries.id,
|
||||
name: oldSeries.name,
|
||||
description: oldSeries.description
|
||||
description: oldSeries.description,
|
||||
libraryId: oldSeries.libraryId
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue