mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-01 01:25:45 -04:00
fix lint issues
This commit is contained in:
parent
27266f60ba
commit
5332b3fc9b
@ -179,7 +179,7 @@ class Teams extends NotificationProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return payload;
|
return payload;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate payload for notification
|
* Generate payload for notification
|
||||||
@ -295,8 +295,7 @@ class Teams extends NotificationProvider {
|
|||||||
});
|
});
|
||||||
|
|
||||||
await this._sendNotification(notification.webhookUrl, payload);
|
await this._sendNotification(notification.webhookUrl, payload);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
const payload = this._notificationPayloadFactoryLegacy({
|
const payload = this._notificationPayloadFactoryLegacy({
|
||||||
monitorMessage: heartbeatJSON.msg,
|
monitorMessage: heartbeatJSON.msg,
|
||||||
monitorName: monitorJSON.name,
|
monitorName: monitorJSON.name,
|
||||||
|
Loading…
Reference in New Issue
Block a user