Merge pull request #541 from tidwall/missing-key-field
Fixed DEL geofence notifications missing "key" field
This commit is contained in:
commit
77d33df542
@ -92,6 +92,7 @@ func fenceMatch(
|
|||||||
}
|
}
|
||||||
return []string{
|
return []string{
|
||||||
`{"command":"del"` + hookJSONString(hookName, metas) +
|
`{"command":"del"` + hookJSONString(hookName, metas) +
|
||||||
|
`,"key":` + jsonString(details.key) +
|
||||||
`,"id":` + jsonString(details.id) +
|
`,"id":` + jsonString(details.id) +
|
||||||
`,"time":` + jsonTimeFormat(details.timestamp) + `}`,
|
`,"time":` + jsonTimeFormat(details.timestamp) + `}`,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user