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 = []
if (process.env.PRODUCTION == true) {
productionExcludes = [
'ScannerResult',
'AuthorizeResult',
'PhotoURL',
'SiteInfo',
'User',
'Album',
'PhotoEXIF',
'Photo',
'ShareToken',
'Result',
]
}
// if (process.env.PRODUCTION == true) {
// productionExcludes = [
// 'ScannerResult',
// 'AuthorizeResult',
// 'PhotoURL',
// 'SiteInfo',
// 'User',
// 'Album',
// 'PhotoEXIF',
// 'Photo',
// 'ShareToken',
// 'Result',
// ]
// }
const schema = makeAugmentedSchema({
typeDefs,