diff --git a/api4/config.go b/api4/config.go index a6f875f0d1..4f469cc15b 100644 --- a/api4/config.go +++ b/api4/config.go @@ -147,8 +147,7 @@ func updateConfig(c *Context, w http.ResponseWriter, r *http.Request) { c.App.HandleMessageExportConfig(cfg, appCfg) - err := cfg.IsValid() - if err != nil { + if err := cfg.IsValid(); err != nil { c.Err = err return } diff --git a/model/config.go b/model/config.go index 04dfa4f5a2..ad066cd181 100644 --- a/model/config.go +++ b/model/config.go @@ -1739,7 +1739,7 @@ type SupportSettings struct { AboutLink *string `access:"site_customization,write_restrictable,cloud_restrictable"` HelpLink *string `access:"site_customization,write_restrictable,cloud_restrictable"` ReportAProblemLink *string `access:"site_customization,write_restrictable,cloud_restrictable"` - SupportEmail *string `access:"site_customization"` + SupportEmail *string `access:"site_notifications"` CustomTermsOfServiceEnabled *bool `access:"compliance_custom_terms_of_service"` CustomTermsOfServiceReAcceptancePeriod *int `access:"compliance_custom_terms_of_service"` EnableAskCommunityLink *bool `access:"site_customization"`