Unverified Commit 97a45e3b authored by neil's avatar neil Committed by GitHub
Browse files

Update discord.sh

parent 451b290b
......@@ -46,7 +46,7 @@ discord_send() {
if _post "$_data" "$DISCORD_WEBHOOK_URL?wait=true"; then
# shellcheck disable=SC2154
if [ -n "$response" ]; then
if [ "$response" ]; then
_info "discord send success."
return 0
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment