From 712ec40202577642d3df14b3dc7d0ccf848955f5 Mon Sep 17 00:00:00 2001 From: Evgenii Abramov Date: Wed, 12 May 2021 22:27:15 +0300 Subject: [PATCH] c --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 76777f8..713fc75 100644 --- a/app.js +++ b/app.js @@ -112,7 +112,7 @@ global.mqttClient = mqtt.connect(`mqtt://${config.mqtt.host}`, { ldevice.updateState(`${message}`, instance); /* */ - Promise.all([].concat(config.notification).map(el => { + Promise.all(config.notification.map(el => { const [skill_id, oauth_token, user_id] = el; return new Promise((resolve, reject) => {