aboutsummaryrefslogtreecommitdiff
path: root/ui/js
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-10 11:44:27 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-10 11:44:27 +0200
commite56c73c5c8249664cd9fc40643c4c2dac05ce1db (patch)
tree8356ed502ce0f7d450e6ae3735de6ea614e08342 /ui/js
parent33db7b2bbbc6e26507a4b1a8368a91e43a33fabc (diff)
fix typoHEADmaster
Diffstat (limited to 'ui/js')
-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),