mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-08 00:08:14 +01:00
Await the response from audible for book search by ASIN
This commit is contained in:
parent
5c4241aefe
commit
661778c02c
@ -182,7 +182,7 @@ class BookFinder {
|
|||||||
if (provider === 'google') {
|
if (provider === 'google') {
|
||||||
books = this.getGoogleBooksResults(title, author)
|
books = this.getGoogleBooksResults(title, author)
|
||||||
} else if (provider === 'audible') {
|
} else if (provider === 'audible') {
|
||||||
books = this.getAudibleResults(title, author, asin)
|
books = await this.getAudibleResults(title, author, asin)
|
||||||
} else if (provider === 'itunes') {
|
} else if (provider === 'itunes') {
|
||||||
books = this.getiTunesAudiobooksResults(title, author)
|
books = this.getiTunesAudiobooksResults(title, author)
|
||||||
} else if (provider === 'libgen') {
|
} else if (provider === 'libgen') {
|
||||||
|
Loading…
Reference in New Issue
Block a user