removed a debug message

master
Jan Danielzick 2021-08-14 00:29:45 +02:00
parent 08134896ba
commit 104d5dad27
1 changed files with 0 additions and 1 deletions

View File

@ -22,7 +22,6 @@ DISCORD_WEBHOOK_MESSAGE_FAIL="DNS entry update for $DOMAIN failed."
function discord_update_message {
if [ -n $DISCORD_WEBHOOK_URL ]; then
local MESSAGE='{"username": "DNS Record Updater", "content": "'"$1"'"}'
echo $MESSAGE
wget -qO - --post-data="$MESSAGE" --header='Content-Type:application/json' "$DISCORD_WEBHOOK_URL"
fi
}