Fix custom metadata provider crash

This commit is contained in:
Rasmus Krämer 2024-03-23 14:54:34 +01:00 committed by GitHub
parent c1bbec22f0
commit 961533765f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -158,7 +158,7 @@ class BookFinder {
* @returns {Promise<Object[]>}
*/
async getCustomProviderResults(title, author, isbn, providerSlug) {
const books = await this.customProviderAdapter.search(title, author, providerSlug, 'book')
const books = await this.customProviderAdapter.search(title, author, isbn, providerSlug, 'book')
if (this.verbose) Logger.debug(`Custom provider '${providerSlug}' Search Results: ${books.length || 0}`)
return books