Indent webhook notifications Authorization header
Since `Authorization` is intended to be a header applied to HTTP requests it should be indented to place it in the YAML map named `headers` instead of being a sibling of it.
This commit is contained in:
parent
fe4fad3bff
commit
1fa75f3129
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ notifications:
|
||||||
- name: alistener
|
- name: alistener
|
||||||
url: https://mylistener.example.com/event
|
url: https://mylistener.example.com/event
|
||||||
headers:
|
headers:
|
||||||
Authorization: [Bearer <your token, if needed>]
|
Authorization: [Bearer <your token, if needed>]
|
||||||
timeout: 500ms
|
timeout: 500ms
|
||||||
threshold: 5
|
threshold: 5
|
||||||
backoff: 1s
|
backoff: 1s
|
||||||
|
|
Loading…
Reference in a new issue