fix: missing json pointer address
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
@@ -256,7 +256,7 @@ func CheckPushConf(cfg config.ConfYaml) error {
|
|||||||
func SendNotification(req queue.QueuedMessage) {
|
func SendNotification(req queue.QueuedMessage) {
|
||||||
v, ok := req.(*PushNotification)
|
v, ok := req.(*PushNotification)
|
||||||
if !ok {
|
if !ok {
|
||||||
if err := json.Unmarshal(req.Bytes(), v); err != nil {
|
if err := json.Unmarshal(req.Bytes(), &v); err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user