mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-27 22:49:42 -08:00
merged
This commit is contained in:
commit
f0ad32a252
|
@ -89,7 +89,7 @@ class Monitor extends BeanModel {
|
||||||
mqttTopic: this.mqttTopic,
|
mqttTopic: this.mqttTopic,
|
||||||
mqttSuccessMessage: this.mqttSuccessMessage,
|
mqttSuccessMessage: this.mqttSuccessMessage,
|
||||||
databaseConnectionString: this.databaseConnectionString,
|
databaseConnectionString: this.databaseConnectionString,
|
||||||
databaseQuery: this.databaseQuery
|
databaseQuery: this.databaseQuery,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (includeSensitiveData) {
|
if (includeSensitiveData) {
|
||||||
|
|
|
@ -217,7 +217,6 @@ exports.sqlserver = function (connectionString, query) {
|
||||||
});
|
});
|
||||||
|
|
||||||
mssql.connect(connectionString).then(pool => {
|
mssql.connect(connectionString).then(pool => {
|
||||||
|
|
||||||
return pool.request()
|
return pool.request()
|
||||||
.query(query);
|
.query(query);
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
|
|
Loading…
Reference in a new issue