* Fixed discord issue

This commit is contained in:
Daniel Legt 2024-01-19 01:23:20 +02:00
parent c907d2040c
commit 143a30b5f6
1 changed files with 1 additions and 1 deletions

View File

@ -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
}