From d20ac6470f131d926dcc358be20ef556fcc24ea6 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Sun, 22 Oct 2017 14:18:38 +0200 Subject: [PATCH] Was a missing ) --- seasoned_api/src/webserver/controllers/tmdb/searchMedia.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seasoned_api/src/webserver/controllers/tmdb/searchMedia.js b/seasoned_api/src/webserver/controllers/tmdb/searchMedia.js index e67f0a8..2eb66f5 100644 --- a/seasoned_api/src/webserver/controllers/tmdb/searchMedia.js +++ b/seasoned_api/src/webserver/controllers/tmdb/searchMedia.js @@ -22,7 +22,7 @@ function searchMediaController(req, res) { return searchHistory.create(user, query); } return null; - } + }) .then(() => tmdb.search(query, page, type)) .then((movies) => { if (movies !== undefined || movies.length > 0) {