Merge pull request #2413 from markush81/2358
Some checks are pending
Dev / build-local (push) Waiting to run
Dev / migrate-boltdb (push) Blocked by required conditions
Dev / migrate-mysql (push) Blocked by required conditions
Dev / migrate-mariadb (push) Blocked by required conditions
Dev / migrate-postgres (push) Blocked by required conditions
Dev / integrate-boltdb (push) Blocked by required conditions
Dev / integrate-mysql (push) Blocked by required conditions
Dev / integrate-mariadb (push) Blocked by required conditions
Dev / integrate-postgres (push) Blocked by required conditions
Dev / deploy-server (push) Blocked by required conditions
Dev / deploy-runner (push) Blocked by required conditions

powerautomate sends 202 when accepting content; MS doesn't support 1.…
This commit is contained in:
Denis Gukov 2024-10-13 22:59:13 +05:00 committed by GitHub
commit fe68a495df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -352,7 +352,7 @@ func (t *TaskRunner) sendMicrosoftTeamsAlert() {
if err != nil {
t.Log("Can't send microsoft teams alert! Error: " + err.Error())
} else if resp.StatusCode != 200 {
} else if resp.StatusCode != 200 && resp.StatusCode != 202 {
t.Log("Can't send microsoft teams alert! Response code: " + strconv.Itoa(resp.StatusCode))
}

View File

@ -6,7 +6,7 @@
"content": {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.5",
"version": "1.4",
"body": [
{
"type": "TextBlock",