fix: missing json pointer address
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
		
							parent
							
								
									f4fc2a5e7c
								
							
						
					
					
						commit
						9bb618d506
					
				| 
						 | 
					@ -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
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue