From 01bf58ab978694ee141740d6ed4b9893b3ef376c Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 16 Jul 2023 15:29:43 -0500 Subject: [PATCH] Fix createAuthor --- server/Database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }