1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2025-01-10 00:43:27 +02:00

Minor rehabilitanty impedyment

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Lukas 2021-10-13 07:32:09 +02:00 committed by GitHub
parent 30d8aadf12
commit 330cd6e058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +48,7 @@ class SMTP extends NotificationProvider {
if (heartbeatJSON !== null) {
serviceStatus = heartbeatJSON["status"] == DOWN ? "🔴 Down" : "✅ Up";
}
// Break replace to one by line for better readability
customsubject = customsubject.replace(replaceStatus, serviceStatus);
customsubject = customsubject.replace(replaceName, monitorName);