mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-01 21:15:00 +02:00
Fix createAuthor
This commit is contained in:
parent
d99b2c25e8
commit
01bf58ab97
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ class Database {
|
||||||
|
|
||||||
async createAuthor(oldAuthor) {
|
async createAuthor(oldAuthor) {
|
||||||
if (!this.sequelize) return false
|
if (!this.sequelize) return false
|
||||||
await this.models.createFromOld(oldAuthor)
|
await this.models.author.createFromOld(oldAuthor)
|
||||||
this.authors.push(oldAuthor)
|
this.authors.push(oldAuthor)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue