diff --git a/src/functions/helpers.js b/src/functions/helpers.js index 080ad2b8b..95d556135 100644 --- a/src/functions/helpers.js +++ b/src/functions/helpers.js @@ -64,7 +64,7 @@ export async function notifySlack(monitor, operational) { } export async function notifyTelegram(monitor, operational) { - const text = `Monitor *${monitor.name.replace( + const text = `Monitor *${monitor.name.replaceAll( '-', '\\-', )}* changed status to *${getOperationalLabel(operational)}*