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,
urlsToPing,
}),
_.update('triggersAutomation', _.mapValues(_.eq('Automatic'))),
addOperatorInfo(operatorInfo),
addReceiptInfo(receiptInfo)
)(staticConf))

View file

@ -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 {