From 0746173c34968ab39c57406a599d80fd7554b9a9 Mon Sep 17 00:00:00 2001 From: NeoPlayer13 <98669870+NeoPlayer13@users.noreply.github.com> Date: Sun, 6 Aug 2023 11:56:33 -0500 Subject: [PATCH] Update nutNotifyFct.sh corrected mistake in the Discord webhook variable. --- nutNotifyFct.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nutNotifyFct.sh b/nutNotifyFct.sh index 81121e1..486316a 100644 --- a/nutNotifyFct.sh +++ b/nutNotifyFct.sh @@ -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