From 961533765f8006492c3c1ee8c877ab29c255e32c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rasmus=20Kr=C3=A4mer?= Date: Sat, 23 Mar 2024 14:54:34 +0100 Subject: [PATCH] Fix custom metadata provider crash --- server/finders/BookFinder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/finders/BookFinder.js b/server/finders/BookFinder.js index 2c6fc9ee..9aa0a182 100644 --- a/server/finders/BookFinder.js +++ b/server/finders/BookFinder.js @@ -158,7 +158,7 @@ class BookFinder { * @returns {Promise} */ 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