Skip to content

Commit

Permalink
Fix createAuthor
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Jul 16, 2023
1 parent d99b2c2 commit 01bf58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/Database.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 01bf58a

Please sign in to comment.