aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/js/api.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/js/api.js b/ui/js/api.js
index 00349be..74f30f1 100644
--- a/ui/js/api.js
+++ b/ui/js/api.js
@@ -122,7 +122,7 @@ const api = {
},
handle: {
helloWorld: msg => console.log(msg),
- barrier: msg => api.update.barrier(msg.on),
+ barrier: msg => api.update.barrier(msg.open),
trafficLights: msg => api.update.trafficLights(msg.state),
lights: msg => api.update.lights(msg.value),
matrix: msg => api.update.matrix(msg.state),