mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-09-08 18:38:43 +00: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 New Issue
Block a user