Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
neil committed Oct 6, 2023
1 parent dbe569c commit e15513b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notify/mattermost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ mattermost_send() {
_data="$_data\"message\": \"$_content\"}"

export _H1="Authorization: Bearer $MATTERMOST_BOT_TOKEN"

response=""
if _post "$_data" "$MATTERMOST_API_URL" "" "POST" "application/json; charset=utf-8"; then
MATTERMOST_RESULT_OK=$(echo "$response" | _egrep_o 'create_at')
if [ "$?" = "0" ] && [ "$MATTERMOST_RESULT_OK" ]; then
Expand Down

0 comments on commit e15513b

Please sign in to comment.