1
Fork 0

Disable production includes, as they remove filters

A better solution is needed
This commit is contained in:
viktorstrate 2019-08-16 22:51:37 +02:00
parent aeade9f284
commit afcd6cf0ed
1 changed files with 14 additions and 14 deletions

View File

@ -25,20 +25,20 @@ const typeDefs = fs
let productionExcludes = [] let productionExcludes = []
if (process.env.PRODUCTION == true) { // if (process.env.PRODUCTION == true) {
productionExcludes = [ // productionExcludes = [
'ScannerResult', // 'ScannerResult',
'AuthorizeResult', // 'AuthorizeResult',
'PhotoURL', // 'PhotoURL',
'SiteInfo', // 'SiteInfo',
'User', // 'User',
'Album', // 'Album',
'PhotoEXIF', // 'PhotoEXIF',
'Photo', // 'Photo',
'ShareToken', // 'ShareToken',
'Result', // 'Result',
] // ]
} // }
const schema = makeAugmentedSchema({ const schema = makeAugmentedSchema({
typeDefs, typeDefs,