diff --git a/lib/graphql/resolvers.js b/lib/graphql/resolvers.js index d574565b..0652046c 100644 --- a/lib/graphql/resolvers.js +++ b/lib/graphql/resolvers.js @@ -142,7 +142,6 @@ const staticConfig = ({ currentConfigVersion, deviceId, deviceName, pq, settings speedtestFiles, urlsToPing, }), - _.update('triggersAutomation', _.mapValues(_.eq('Automatic'))), addOperatorInfo(operatorInfo), addReceiptInfo(receiptInfo) )(staticConf)) diff --git a/lib/graphql/types.js b/lib/graphql/types.js index 49fb64bb..64e79490 100644 --- a/lib/graphql/types.js +++ b/lib/graphql/types.js @@ -51,12 +51,12 @@ type SpeedtestFile { # True if automatic, False otherwise type TriggersAutomation { - sanctions: Boolean! - idCardPhoto: Boolean! - idCardData: Boolean! - facephoto: Boolean! - usSsn: Boolean! - custom: [CustomTriggersAutomation] + sanctions: String! + idCardPhoto: String! + idCardData: String! + facephoto: String! + usSsn: String! + custom: [CustomTriggersAutomation]! } type CustomTriggersAutomation {