From 661778c02c8e51ce9a431e6c335d084ee4b6fc3d Mon Sep 17 00:00:00 2001 From: jmt-gh <13617455+jmt-gh@users.noreply.github.com> Date: Wed, 29 Jun 2022 19:18:00 -0700 Subject: [PATCH] Await the response from audible for book search by ASIN --- 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 d893cd3f..738e0f72 100644 --- a/server/finders/BookFinder.js +++ b/server/finders/BookFinder.js @@ -182,7 +182,7 @@ class BookFinder { if (provider === 'google') { books = this.getGoogleBooksResults(title, author) } else if (provider === 'audible') { - books = this.getAudibleResults(title, author, asin) + books = await this.getAudibleResults(title, author, asin) } else if (provider === 'itunes') { books = this.getiTunesAudiobooksResults(title, author) } else if (provider === 'libgen') {