From 591ef9f352efd98a85e6d04c0c9072c4c2987527 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 5 Jan 2018 16:17:57 -0600 Subject: Remove utils.ClientCfg and utils.ClientCfgHash (#8041) * remove utils.ClientCfg and utils.ClientCfgHash * remove unused import --- app/notification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/notification.go') diff --git a/app/notification.go b/app/notification.go index a7093e17f..4929d56f4 100644 --- a/app/notification.go +++ b/app/notification.go @@ -693,7 +693,7 @@ func (a *App) ClearPushNotification(userId string, channelId string) { } func (a *App) sendToPushProxy(msg model.PushNotification, session *model.Session) { - msg.ServerId = utils.CfgDiagnosticId + msg.ServerId = a.DiagnosticId() request, _ := http.NewRequest("POST", *a.Config().EmailSettings.PushNotificationServer+model.API_URL_SUFFIX_V1+"/send_push", strings.NewReader(msg.ToJson())) -- cgit v1.2.3-1-g7c22