fix: GraphQL types of TriggersAutomation

This commit is contained in:
siiky 2022-11-28 18:09:57 +00:00
parent f4fa98879f
commit f9e7631eee
2 changed files with 6 additions and 7 deletions

View file

@ -142,7 +142,6 @@ const staticConfig = ({ currentConfigVersion, deviceId, deviceName, pq, settings
speedtestFiles, speedtestFiles,
urlsToPing, urlsToPing,
}), }),
_.update('triggersAutomation', _.mapValues(_.eq('Automatic'))),
addOperatorInfo(operatorInfo), addOperatorInfo(operatorInfo),
addReceiptInfo(receiptInfo) addReceiptInfo(receiptInfo)
)(staticConf)) )(staticConf))

View file

@ -51,12 +51,12 @@ type SpeedtestFile {
# True if automatic, False otherwise # True if automatic, False otherwise
type TriggersAutomation { type TriggersAutomation {
sanctions: Boolean! sanctions: String!
idCardPhoto: Boolean! idCardPhoto: String!
idCardData: Boolean! idCardData: String!
facephoto: Boolean! facephoto: String!
usSsn: Boolean! usSsn: String!
custom: [CustomTriggersAutomation] custom: [CustomTriggersAutomation]!
} }
type CustomTriggersAutomation { type CustomTriggersAutomation {