Opps, start with then.

This commit is contained in:
2017-10-22 17:31:14 +02:00
parent 592528dec2
commit 0e70a10cc2

View File

@@ -53,7 +53,7 @@ class RequestRepository {
}
return Promise.resolve()
.catch(() => plexRepository.searchMedia(text))
.then(() => plexRepository.searchMedia(text))
// Get the list of plexItems matching the query passed.
.then((plexItem) => {
let tmdbSearchResult = getTmdbResults();