Was a missing )

This commit is contained in:
2017-10-22 14:18:38 +02:00
parent 8f4e3a24f4
commit d20ac6470f

View File

@@ -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) {