removed a debug message
parent
08134896ba
commit
104d5dad27
|
@ -22,7 +22,6 @@ DISCORD_WEBHOOK_MESSAGE_FAIL="DNS entry update for $DOMAIN failed."
|
||||||
function discord_update_message {
|
function discord_update_message {
|
||||||
if [ -n $DISCORD_WEBHOOK_URL ]; then
|
if [ -n $DISCORD_WEBHOOK_URL ]; then
|
||||||
local MESSAGE='{"username": "DNS Record Updater", "content": "'"$1"'"}'
|
local MESSAGE='{"username": "DNS Record Updater", "content": "'"$1"'"}'
|
||||||
echo $MESSAGE
|
|
||||||
wget -qO - --post-data="$MESSAGE" --header='Content-Type:application/json' "$DISCORD_WEBHOOK_URL"
|
wget -qO - --post-data="$MESSAGE" --header='Content-Type:application/json' "$DISCORD_WEBHOOK_URL"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue