Update nutNotifyFct.sh

corrected mistake in the Discord webhook variable.
This commit is contained in:
NeoPlayer13
2023-08-06 11:56:33 -05:00
committed by GitHub
parent 70cbbe4662
commit 0746173c34
+1 -1
View File
@@ -174,7 +174,7 @@ function sendDiscord {
\"content\": \"$message\" \"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=$? returnCurl=$?
if [ $returnCurl -ne 0 ]; then if [ $returnCurl -ne 0 ]; then
cat $tempjson cat $tempjson