Fix #85 products not showing
parent
ff9107e6b5
commit
2d4b911bfc
|
@ -496,7 +496,7 @@ const getData = (req, page, query) => {
|
|||
query = {};
|
||||
}
|
||||
|
||||
query['productPublished'] = 'true';
|
||||
query['productPublished'] = { $ne: false };
|
||||
|
||||
// Run our queries
|
||||
return Promise.all([
|
||||
|
|
Loading…
Reference in New Issue