Fix #85 products not showing

master
Mark Moffat 2019-10-25 13:29:44 +10:30
parent ff9107e6b5
commit 2d4b911bfc
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ const getData = (req, page, query) => {
query = {};
}
query['productPublished'] = 'true';
query['productPublished'] = { $ne: false };
// Run our queries
return Promise.all([