Skip to content

Commit

Permalink
Added missing "type" configuration for webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Furnari committed Jun 17, 2021
1 parent 13af2f2 commit 84652fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ Deploy webhooks to receive notifications from 3rd party applications.
```yaml
constructs:
stripe-webhook:
type: webhook
path: /my-webhook-endpoint
authorizer:
handler: myAuthorizer.main
Expand Down
1 change: 1 addition & 0 deletions docs/webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ provider:

constructs:
stripe:
type: webhook
authorizer:
handler: myAuthorizer.main
path: /my-webhook-endpoint
Expand Down

0 comments on commit 84652fc

Please sign in to comment.