Honza Hommer
5 years ago
No known key found for this signature in database
GPG Key ID: F1A1FA427709F5EF
1 changed files with
1 additions and
2 deletions
-
notify/teams.sh
|
@ -74,8 +74,7 @@ teams_send() { |
|
|
fi |
|
|
fi |
|
|
_data="$_data\"text\": \"$_content\"}" |
|
|
_data="$_data\"text\": \"$_content\"}" |
|
|
|
|
|
|
|
|
if _post "$_data" "$TEAMS_WEBHOOK_URL"; then |
|
|
|
|
|
# shellcheck disable=SC2154 |
|
|
|
|
|
|
|
|
if response=$(_post "$_data" "$TEAMS_WEBHOOK_URL"); then |
|
|
if ! _contains "$response" error; then |
|
|
if ! _contains "$response" error; then |
|
|
_info "teams send success." |
|
|
_info "teams send success." |
|
|
return 0 |
|
|
return 0 |
|
|