Improved testing, more linting and added paging to request/all endpoint #95

Merged
KevinMidboe merged 9 commits from docs_testing into master 2018-03-21 22:53:30 +00:00
Showing only changes of commit 996295b1fe - Show all commits

View File

@@ -13,8 +13,8 @@ const tmdb = new TMDB(cache, configuration.get('tmdb', 'apiKey'));
*/
function listSearchController(req, res) {
const listname = req.params.listname;
const { type, id, page } = req.query;
tmdb.listSearch(listname, type, id, page)
const { type, page } = req.query;
tmdb.listSearch(listname, type, page)
.then((results) => {
res.send(results);
}).catch((error) => {