Skip to content

Commit

Permalink
Merge pull request advplyr#2784 from rasmuslos/patch-1
Browse files Browse the repository at this point in the history
Fix custom metadata provider crash
  • Loading branch information
advplyr authored Mar 23, 2024
2 parents 51ff623 + 9615337 commit b60f62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/finders/BookFinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b60f62c

Please sign in to comment.