Debugging travis failure

master
Mark Moffat 2019-06-12 18:23:34 +09:30
parent ab4c63c5af
commit 9860ac2de5
1 changed files with 2 additions and 0 deletions

View File

@ -463,6 +463,8 @@ router.get('/category/:cat/:pageNum?', (req, res) => {
lunrIdArray.push(common.getId(id.ref)); lunrIdArray.push(common.getId(id.ref));
}); });
console.log('productsIndex', productsIndex);
let pageNum = 1; let pageNum = 1;
if(req.params.pageNum){ if(req.params.pageNum){
pageNum = req.params.pageNum; pageNum = req.params.pageNum;