Skip to content

Commit

Permalink
Merge pull request #23 from mateuszdrwal/patch-1
Browse files Browse the repository at this point in the history
fixes #16
  • Loading branch information
iamtraction committed Jul 10, 2019
2 parents fca1eb6 + c330698 commit b4920d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion send.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ WEBHOOK_DATA='{
} ]
}'

(curl --fail --progress-bar -A "TravisCI-Webhook" -H Content-Type:application/json -H X-Author:k3rn31p4nic#8383 -d "$WEBHOOK_DATA" "$2" \
(curl --fail --progress-bar -A "TravisCI-Webhook" -H Content-Type:application/json -H X-Author:k3rn31p4nic#8383 -d "${WEBHOOK_DATA// / }" "$2" \
&& echo -e "\\n[Webhook]: Successfully sent the webhook.") || echo -e "\\n[Webhook]: Unable to send webhook."

0 comments on commit b4920d5

Please sign in to comment.