mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-11 03:35:17 +02:00
Fix createAuthor
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user