Disable production includes, as they remove filters
A better solution is needed
This commit is contained in:
parent
aeade9f284
commit
afcd6cf0ed
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue