mirror of
https://github.com/mag37/dockcheck.git
synced 2026-03-11 03:12:51 +01:00
Fixed typo.
This commit is contained in:
parent
119932aa19
commit
ec068dd19a
1 changed files with 3 additions and 0 deletions
|
|
@ -21,5 +21,8 @@ send_notification() {
|
||||||
DiscordWebhookUrl="PasteYourFullDiscordWebhookURL"
|
DiscordWebhookUrl="PasteYourFullDiscordWebhookURL"
|
||||||
|
|
||||||
MsgBody="{\"username\":\"$FromHost\",\"content\":\"$MessageBody\"}"
|
MsgBody="{\"username\":\"$FromHost\",\"content\":\"$MessageBody\"}"
|
||||||
|
|
||||||
curl -sS -o /dev/null --fail -X POST -H "Content-Type: application/json" -d "$MsgBody" "$DiscordWebhookUrl"
|
curl -sS -o /dev/null --fail -X POST -H "Content-Type: application/json" -d "$MsgBody" "$DiscordWebhookUrl"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue