From 5a0ea1e0816d4a4820a28ee475fd4a71a06f5813 Mon Sep 17 00:00:00 2001 From: Evgenii Abramov Date: Tue, 11 May 2021 01:11:13 +0300 Subject: [PATCH] c --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 298f68c..d6ebea8 100644 --- a/app.js +++ b/app.js @@ -138,7 +138,7 @@ global.mqttClient = mqtt.connect(`mqtt://${config.mqtt.host}`, { "ts": Math.floor(Date.now() / 1000), "payload": { "user_id": '2', - "devices": ldevice.getState(), + "devices": [ldevice.getState()], } })); req.end();