Explorar el Código

websocket idk

marek hace 1 mes
padre
commit
1870145694
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      routes/include/websocket.js

+ 1 - 1
routes/include/websocket.js

@@ -41,7 +41,7 @@ export default (langName, lang) => new Elysia({ prefix: "/ws" })
             !indoorPressure?.length ||
             !indoorHumidity?.length ||
             !indoorAltitude?.length ||
-            !outdoorConnected?.length ||
+            !outdoorConnected?.toString()?.length ||
             !outdoorTemp?.length ||
             !outdoorPressure?.length ||
             !outdoorHumidity?.length ||