Fixed DEL geofence notifications missing "key" field

Closed #538
This commit is contained in:
tidwall 2020-03-21 17:48:31 -07:00
parent 957233c298
commit 65943e8f1a
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ func fenceMatch(
}
return []string{
`{"command":"del"` + hookJSONString(hookName, metas) +
`,"key":` + jsonString(details.key) +
`,"id":` + jsonString(details.id) +
`,"time":` + jsonTimeFormat(details.timestamp) + `}`,
}