Filter out isComingSoon videos

pull/6774/head
Berkeley Martinez 2016-04-14 21:19:37 -07:00
parent 769aeef589
commit b5462a03b9
1 changed files with 4 additions and 1 deletions

View File

@ -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' ]
}; };