From 0e70a10cc2434f13836f57eaddca8a7b55664b11 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Sun, 22 Oct 2017 17:31:14 +0200 Subject: [PATCH] Opps, start with then. --- seasoned_api/src/plex/requestRepository.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seasoned_api/src/plex/requestRepository.js b/seasoned_api/src/plex/requestRepository.js index 5ec3379..c1f5a37 100644 --- a/seasoned_api/src/plex/requestRepository.js +++ b/seasoned_api/src/plex/requestRepository.js @@ -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();