From 143a30b5f65bbdec21dacd6389515c8921ae3fc1 Mon Sep 17 00:00:00 2001 From: Daniel Legt Date: Fri, 19 Jan 2024 01:23:20 +0200 Subject: [PATCH] * Fixed discord issue --- lib/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.sh b/lib/functions.sh index 9defae5..30b99a3 100755 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -8,7 +8,7 @@ send_discord_notification() { if [ -n "$DISCORD_WEB_HOOK" ]; then curl \ -H "Content-Type: application/json" \ - -d "{ \"content\":\"\", \"embeds\":[{ \"title\":\"Vaultwarden Backup\", \"description\":\"${message}\", \"color\":${color}} ]}" \ + -d "{ \"content\":\"\", \"embeds\":[{ \"title\":\"${PROGRAM_NAME}\", \"description\":\"${message}\", \"color\":${color}} ]}" \ $DISCORD_WEB_HOOK fi }