diff --git a/gorush/notification_hms.go b/gorush/notification_hms.go index 22b23ef..9a26412 100644 --- a/gorush/notification_hms.go +++ b/gorush/notification_hms.go @@ -188,7 +188,7 @@ func PushToHuawei(req PushNotification) bool { Retry: var isError = false - notification, err := GetHuaweiNotification(req) + notification, _ := GetHuaweiNotification(req) client, err = InitHMSClient(PushConf.Huawei.APIKey, PushConf.Huawei.APPId)