Fix:Crash when searching for cover without an author #2174

This commit is contained in:
advplyr 2023-10-02 17:09:12 -05:00
parent 20a1d40d99
commit a3a8937ba3
3 changed files with 2 additions and 3 deletions

View file

@ -234,7 +234,7 @@ class BookFinder {
if (!books.length && maxFuzzySearches > 0) {
// normalize title and author
title = title.trim().toLowerCase()
author = author.trim().toLowerCase()
author = author?.trim().toLowerCase() || ''
// Now run up to maxFuzzySearches fuzzy searches
let candidates = new Set()