mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-29 20:02:42 +01:00
Update author and series to include libraryId
This commit is contained in:
1 parent
0ac63b2678
commit
0a179e4eed
3 files changed
+7
-3
No files matched your search
@@ -16,6 +16,7 @@ module.exports = (sequelize) => {
|
||||
name: this.name,
|
||||
description: this.description,
|
||||
imagePath: this.imagePath,
|
||||
libraryId: this.libraryId,
|
||||
addedAt: this.createdAt.valueOf(),
|
||||
updatedAt: this.updatedAt.valueOf()
|
||||
})
|
||||
@@ -46,7 +47,8 @@ module.exports = (sequelize) => {
|
||||
name: oldAuthor.name,
|
||||
asin: oldAuthor.asin,
|
||||
description: oldAuthor.description,
|
||||
imagePath: oldAuthor.imagePath
|
||||
imagePath: oldAuthor.imagePath,
|
||||
libraryId: oldAuthor.libraryId
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user