From 9bb618d50605c02d4a1df86f39df0d519db16b3a Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 25 Jul 2021 15:33:01 +0800 Subject: [PATCH] fix: missing json pointer address Signed-off-by: Bo-Yi Wu --- notify/notification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notify/notification.go b/notify/notification.go index f912636..82b8de6 100644 --- a/notify/notification.go +++ b/notify/notification.go @@ -256,7 +256,7 @@ func CheckPushConf(cfg config.ConfYaml) error { func SendNotification(req queue.QueuedMessage) { v, ok := req.(*PushNotification) if !ok { - if err := json.Unmarshal(req.Bytes(), v); err != nil { + if err := json.Unmarshal(req.Bytes(), &v); err != nil { return } }