From 65943e8f1a3a0ba3bbb8bef9a6abd7c01862fe4f Mon Sep 17 00:00:00 2001 From: tidwall Date: Sat, 21 Mar 2020 17:48:31 -0700 Subject: [PATCH] Fixed DEL geofence notifications missing "key" field Closed #538 --- internal/server/fence.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/server/fence.go b/internal/server/fence.go index 9b30581b..1f875dbc 100644 --- a/internal/server/fence.go +++ b/internal/server/fence.go @@ -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) + `}`, }