From c436def448dbfa4bf25cba1db030e1ec0f1eca51 Mon Sep 17 00:00:00 2001 From: mag37 Date: Thu, 13 Feb 2025 21:34:03 +0100 Subject: [PATCH] typo --- notify_templates/notify_telegram.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/notify_templates/notify_telegram.sh b/notify_templates/notify_telegram.sh index ca861a0..d47e29a 100644 --- a/notify_templates/notify_telegram.sh +++ b/notify_templates/notify_telegram.sh @@ -15,6 +15,7 @@ trigger_notification() { TelegramData="{\"chat_id\":\"$TelegramChatId\",\"text\":\"$MessageBody\",\"message_thread_id\":\"$TelegramTopicID\",\"disable_notification\": false}" curl -sS -o /dev/null --fail -X POST "$TelegramUrl/sendMessage" -H 'Content-Type: application/json' -d "$TelegramData" +} send_notification() { [ -s "$ScriptWorkDir"/urls.list ] && releasenotes || Updates=("$@")