diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-04-10 11:44:27 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-04-10 11:44:27 +0200 |
commit | e56c73c5c8249664cd9fc40643c4c2dac05ce1db (patch) | |
tree | 8356ed502ce0f7d450e6ae3735de6ea614e08342 /ui/js | |
parent | 33db7b2bbbc6e26507a4b1a8368a91e43a33fabc (diff) |
Diffstat (limited to 'ui/js')
-rw-r--r-- | ui/js/api.js | 2 |
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), |