* Fixed discord issue
This commit is contained in:
parent
c907d2040c
commit
143a30b5f6
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue