Was a missing )
This commit is contained in:
@@ -22,7 +22,7 @@ function searchMediaController(req, res) {
|
|||||||
return searchHistory.create(user, query);
|
return searchHistory.create(user, query);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
})
|
||||||
.then(() => tmdb.search(query, page, type))
|
.then(() => tmdb.search(query, page, type))
|
||||||
.then((movies) => {
|
.then((movies) => {
|
||||||
if (movies !== undefined || movies.length > 0) {
|
if (movies !== undefined || movies.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user