This commit is contained in:
Christopher Pickering 2022-05-13 08:41:31 -05:00
commit f0ad32a252
No known key found for this signature in database
GPG key ID: E14DB3B0A0FACF84
2 changed files with 1 additions and 2 deletions

View file

@ -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) {

View file

@ -217,7 +217,6 @@ exports.sqlserver = function (connectionString, query) {
});
mssql.connect(connectionString).then(pool => {
return pool.request()
.query(query);
}).then(result => {