mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-26 16:48:53 +01:00
Fix createAuthor
This commit is contained in:
parent
d99b2c25e8
commit
01bf58ab97
@ -447,7 +447,7 @@ class Database {
|
||||
|
||||
async createAuthor(oldAuthor) {
|
||||
if (!this.sequelize) return false
|
||||
await this.models.createFromOld(oldAuthor)
|
||||
await this.models.author.createFromOld(oldAuthor)
|
||||
this.authors.push(oldAuthor)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user