* 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
|
if [ -n "$DISCORD_WEB_HOOK" ]; then
|
||||||
curl \
|
curl \
|
||||||
-H "Content-Type: application/json" \
|
-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
|
$DISCORD_WEB_HOOK
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue