Api cache #51

Merged
KevinMidboe merged 18 commits from api_cache into master 2017-10-22 16:19:37 +00:00
Showing only changes of commit d20ac6470f - Show all commits

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