Fix createAuthor

This commit is contained in:
advplyr committed 2023-07-16 15:29:43 -05:00
1 parent d99b2c25e8
commit 01bf58ab97
1 file changed
+1 -1
+1 -1
View File
@@ -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)
}