diff --git a/server/models/Author.js b/server/models/Author.js index 9708338cd..8ca45b63a 100644 --- a/server/models/Author.js +++ b/server/models/Author.js @@ -188,7 +188,7 @@ class Author extends Model { return { author: null, created: false } } - const [author, created] = await this.findOrCreate({ + const [author, created] = await this.findCreateFind({ where: { searchName, libraryId