Make Webhook silent

pull/155/head
Makario1337 2 years ago committed by GitHub
parent 7ee56c8424
commit 77a0f6adbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1913,7 +1913,7 @@ NotifyWebhook () {
if [ "$webHook" ]
then
content="$1: $2"
curl -X POST "{$webHook}" -H 'Content-Type: application/json' -d '{"event":"'"$1"'", "message":"'"$2"'", "content":"'"$content"'"}'
curl -s -X POST "{$webHook}" -H 'Content-Type: application/json' -d '{"event":"'"$1"'", "message":"'"$2"'", "content":"'"$content"'"}'
fi
}

Loading…
Cancel
Save