Update nutNotifyFct.sh
corrected mistake in the Discord webhook variable.
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@ function sendDiscord {
|
||||
\"content\": \"$message\"
|
||||
}"
|
||||
|
||||
curl -s -H "Content-Type: application/json" -d "$payload" "$discordWebhookUrl" > $tempjson
|
||||
curl -s -H "Content-Type: application/json" -X POST -d "$payload" "$discordWebhookURL" > $tempjson
|
||||
returnCurl=$?
|
||||
if [ $returnCurl -ne 0 ]; then
|
||||
cat $tempjson
|
||||
|
||||
Reference in New Issue
Block a user