Skip to content

Commit

Permalink
docs: Fix typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
birkjernstrom committed Nov 8, 2024
1 parent 76caa87 commit 6862a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/apps/web/src/components/Documentation/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const getWebhook = (
return
}

const webhooks = Object.entries(hooks).filter<[string, OpenAPIV3_1.OperationObject][]>(([eventName, webhook]) => {
const webhooks = Object.entries(hooks).filter(([eventName, webhook]) => {
if (eventName === event && isDereferenced(webhook) && webhook.post) {
return true
}
Expand Down

0 comments on commit 6862a16

Please sign in to comment.