summaryrefslogtreecommitdiffstats
path: root/app/diagnostics.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-03-06 14:16:07 +0000
committerChristopher Speller <crspeller@gmail.com>2017-03-06 09:16:07 -0500
commitca6f364d70619a11c6d89472d20a8b23182c492a (patch)
tree77ee95a000271f8c8cdcaa86044cdd579004242e /app/diagnostics.go
parentfd56b8f36bef794318b6c3e28364e616e5e2a1fe (diff)
downloadchat-ca6f364d70619a11c6d89472d20a8b23182c492a.tar.gz
chat-ca6f364d70619a11c6d89472d20a8b23182c492a.tar.bz2
chat-ca6f364d70619a11c6d89472d20a8b23182c492a.zip
Fix license telemetry. (#5641)
Diffstat (limited to 'app/diagnostics.go')
-rw-r--r--app/diagnostics.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/diagnostics.go b/app/diagnostics.go
index f110f15d3..d3eee29c5 100644
--- a/app/diagnostics.go
+++ b/app/diagnostics.go
@@ -361,12 +361,12 @@ func trackConfig() {
func trackLicense() {
if utils.IsLicensed {
data := map[string]interface{}{
- "name": utils.License.Customer.Name,
- "company": utils.License.Customer.Company,
- "issued": utils.License.IssuedAt,
- "start": utils.License.StartsAt,
- "expire": utils.License.ExpiresAt,
- "users": *utils.License.Features.Users,
+ "customer_id": utils.License.Customer.Id,
+ "license_id": utils.License.Id,
+ "issued": utils.License.IssuedAt,
+ "start": utils.License.StartsAt,
+ "expire": utils.License.ExpiresAt,
+ "users": *utils.License.Features.Users,
}
features := utils.License.Features.ToMap()