Skip to content

Commit 1f6df13

Browse files
author
emmjaykay
authored
Fix typos in the documentation for webhooks
The npm package I have for 1.3.0 have the webhook object listed as `webhooks`
1 parent b613040 commit 1f6df13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,26 +201,26 @@ Each one of them encapsulates the operations related to it (like listing, updati
201201

202202
### Webhooks
203203

204-
#### `webhook.get({ uid, tag })`
204+
#### `webhooks.get({ uid, tag })`
205205
- Get details for a webhook with the given tag
206206
- `uid`: typeform UID
207207
- `tag`: tag of the webhook created
208208

209-
#### `webhook.create({ uid, tag, url, enable = false })`
209+
#### `webhooks.create({ uid, tag, url, enable = false })`
210210
- Create a webhook with the given tag
211211
- `uid`: typeform UID
212212
- `tag`: (string) tag of the webhook (how are you going to identify it)
213213
- `url`: (string) url of the service you want to notify
214214
- `enable`: (bool)
215215

216-
#### `webhook.update({ uid, tag, url, enable = false })`
216+
#### `webhooks.update({ uid, tag, url, enable = false })`
217217
- Update a webhook with the given tag
218218
- `uid`: typeform UID
219219
- `tag`: (string) tag of the webhook (how are you going to identify it)
220220
- `url`: (string) url of the service you want to notify
221221
- `enable`: (bool)
222222

223-
#### `webhook.delete({ uid, tag })`
223+
#### `webhooks.delete({ uid, tag })`
224224
- Delete a webhook with the given tag for a given typeform
225225
- `uid`: typeform UID
226226
- `tag`: (string) tag of the webhook

0 commit comments

Comments
 (0)