diff --git a/server/Database.js b/server/Database.js index e316653f..3d53a282 100644 --- a/server/Database.js +++ b/server/Database.js @@ -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) }