diff --git a/modules/governance/governance.go b/modules/governance/governance.go index b230b40c7..93861d9c4 100644 --- a/modules/governance/governance.go +++ b/modules/governance/governance.go @@ -105,7 +105,7 @@ type settingsRequest struct { AttemptsPerRun int `json:"attempts_per_run"` DefaultOwner string `json:"default_owner"` // Escalation lists person ids. - Escalation []string `json:"escalation,format:emptyarray"` + Escalation []string `json:"escalation"` } func (s Settings) request() settingsRequest { diff --git a/modules/governance/people.go b/modules/governance/people.go index 153ab0e89..211a23f3e 100644 --- a/modules/governance/people.go +++ b/modules/governance/people.go @@ -48,7 +48,7 @@ type personRequest struct { ID string `json:"id"` Name string `json:"name"` Authority bool `json:"authority"` - Identities []string `json:"identities,format:emptyarray"` + Identities []string `json:"identities"` } func (m *Module) getPeople(w http.ResponseWriter, r *http.Request) {