Skip to content

Commit

Permalink
Merge pull request #11 from dyedmagenta/master
Browse files Browse the repository at this point in the history
Remove empty username field from WEBHOOK_DATA
  • Loading branch information
iamtraction authored Jan 13, 2023
2 parents a713dd3 + f751ded commit e8283de
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions send.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ TIMESTAMP=$(date --utc +%FT%TZ)

if [ -z $LINK_ARTIFACT ] || [ $LINK_ARTIFACT = false ] ; then
WEBHOOK_DATA='{
"username": "",
"avatar_url": "https://gitlab.com/favicon.png",
"embeds": [ {
"color": '$EMBED_COLOR',
Expand Down Expand Up @@ -77,7 +76,6 @@ if [ -z $LINK_ARTIFACT ] || [ $LINK_ARTIFACT = false ] ; then
}'
else
WEBHOOK_DATA='{
"username": "",
"avatar_url": "https://gitlab.com/favicon.png",
"embeds": [ {
"color": '$EMBED_COLOR',
Expand Down

0 comments on commit e8283de

Please sign in to comment.