summaryrefslogtreecommitdiffstats
path: root/app/api/GeoFence.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/api/GeoFence.qml')
-rw-r--r--app/api/GeoFence.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/api/GeoFence.qml b/app/api/GeoFence.qml
index 7061984..a39eecb 100644
--- a/app/api/GeoFence.qml
+++ b/app/api/GeoFence.qml
@@ -55,7 +55,7 @@ WebSocket {
case msgid.event:
var payload = JSON.parse(JSON.stringify(json[2]))
var event = payload.event
- if (event == "geofence/fence") {
+ if (event === "geofence/fence") {
var data = json[2].data
console.log("geofence event - name: " + data.name + " state: " + data.state)
}