Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit e6e7379

Browse files
committed
Adjust WebhookRequest type information
1 parent a755342 commit e6e7379

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/authoring/api/types.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,16 @@ A `SubscriptionResult` will be in the form specified by the `pull` expression in
9595

9696
```clojure
9797
{:url string
98-
:body string
99-
:headers {string string}
98+
:body string?
99+
:headers {string string}?
100100
:tags [Tag]?}
101101
```
102102

103103
| Field | Description |
104104
| :--- | :--- |
105105
| `:url` | `string` - The URL of the webhook which was triggered. |
106-
| `:body` | `string` - The body of the webhook which was triggerd. This will be the raw value which was received. |
107-
| `:headers` | `{string string}` - The headers which were received by the server. Header names will be lowercased. |
106+
| `:body` | `string` (optional) - The body of the webhook which was triggered. This will be the raw value which was received. |
107+
| `:headers` | `{string string}` (optional) - The headers which were received by the server. Header names will be lowercased. |
108108
| `:tags` | An array of [`Tag`](#tag) (optional) - Any tags which are associated with the webhook which was triggered. |
109109

110110
## Tag

0 commit comments

Comments
 (0)