summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Blais <13119842+jasonblais@users.noreply.github.com>2018-10-04 07:43:42 -0400
committerCarlos Tadeu Panato Junior <ctadeu@gmail.com>2018-10-04 13:43:42 +0200
commitc4a52a48cb737ee8199ad5d4ed6a442ed7fbf3a7 (patch)
tree44d2289b3cfa73a2f3bca7a763caeabd78bbfe44
parent8de9a61f7ffd570312fd05c5e6986f9d21ab0063 (diff)
downloadchat-c4a52a48cb737ee8199ad5d4ed6a442ed7fbf3a7.tar.gz
chat-c4a52a48cb737ee8199ad5d4ed6a442ed7fbf3a7.tar.bz2
chat-c4a52a48cb737ee8199ad5d4ed6a442ed7fbf3a7.zip
Move CustomServiceTermsEnabled to the correct table in diagnostics (#9521)
* Move CustomServiceTermsEnabled to the correct table in diagnostics * Fix style error
-rw-r--r--app/diagnostics.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/diagnostics.go b/app/diagnostics.go
index f4b3ce767..e8b3ebe4a 100644
--- a/app/diagnostics.go
+++ b/app/diagnostics.go
@@ -263,7 +263,6 @@ func (a *App) trackConfig() {
"experimental_limit_client_config": *cfg.ServiceSettings.ExperimentalLimitClientConfig,
"enable_email_invitations": *cfg.ServiceSettings.EnableEmailInvitations,
"experimental_channel_organization": *cfg.ServiceSettings.ExperimentalChannelOrganization,
- "custom_service_terms_enabled": *cfg.SupportSettings.CustomServiceTermsEnabled,
})
a.SendDiagnostic(TRACK_CONFIG_TEAM, map[string]interface{}{
@@ -418,6 +417,7 @@ func (a *App) trackConfig() {
"isdefault_help_link": isDefault(*cfg.SupportSettings.HelpLink, model.SUPPORT_SETTINGS_DEFAULT_HELP_LINK),
"isdefault_report_a_problem_link": isDefault(*cfg.SupportSettings.ReportAProblemLink, model.SUPPORT_SETTINGS_DEFAULT_REPORT_A_PROBLEM_LINK),
"isdefault_support_email": isDefault(*cfg.SupportSettings.SupportEmail, model.SUPPORT_SETTINGS_DEFAULT_SUPPORT_EMAIL),
+ "custom_service_terms_enabled": *cfg.SupportSettings.CustomServiceTermsEnabled,
})
a.SendDiagnostic(TRACK_CONFIG_LDAP, map[string]interface{}{