From e56c73c5c8249664cd9fc40643c4c2dac05ce1db Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 10 Apr 2024 11:44:27 +0200 Subject: fix typo --- ui/js/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- cgit v1.2.3