Filter out isComingSoon videos
parent
769aeef589
commit
b5462a03b9
|
@ -10,7 +10,10 @@ export default function hikesService(app) {
|
||||||
name: 'hikes',
|
name: 'hikes',
|
||||||
read: (req, resource, { dashedName } = {}, config, cb) => {
|
read: (req, resource, { dashedName } = {}, config, cb) => {
|
||||||
const query = {
|
const query = {
|
||||||
where: { challengeType: '6' },
|
where: {
|
||||||
|
challengeType: '6',
|
||||||
|
isComingSoon: false
|
||||||
|
},
|
||||||
order: ['order ASC', 'suborder ASC' ]
|
order: ['order ASC', 'suborder ASC' ]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue