From e198f2f1aba33eba25d90d3d53b84b1b7387802c Mon Sep 17 00:00:00 2001 From: "sur.la.route" Date: Thu, 12 May 2022 19:54:02 -0500 Subject: [PATCH 1/2] updated format Co-authored-by: Adam Stachowicz --- server/model/monitor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 8b2e1a23c..f17d10047 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -89,7 +89,7 @@ class Monitor extends BeanModel { mqttTopic: this.mqttTopic, mqttSuccessMessage: this.mqttSuccessMessage, databaseConnectionString: this.databaseConnectionString, - databaseQuery: this.databaseQuery + databaseQuery: this.databaseQuery, }; if (includeSensitiveData) { From 5bba19f8662d95e84e97cf11fecb6ce29b9dbc43 Mon Sep 17 00:00:00 2001 From: "sur.la.route" Date: Thu, 12 May 2022 19:54:12 -0500 Subject: [PATCH 2/2] updated format Co-authored-by: Adam Stachowicz --- server/util-server.js | 1 - 1 file changed, 1 deletion(-) diff --git a/server/util-server.js b/server/util-server.js index c6d4e74be..a1637e7c0 100644 --- a/server/util-server.js +++ b/server/util-server.js @@ -217,7 +217,6 @@ exports.sqlserver = function (connectionString, query) { }); sql.connect(connectionString).then(pool => { - return pool.request() .query(query); }).then(result => {