Skip to content

Commit

Permalink
DEVDOCS-4442: [revise] change blacklist to blocklist (#2070)
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-traciporter authored Sep 29, 2023
1 parent 70880b5 commit fa33a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-docs/webhooks/about-webhooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ To prevent your webhooks from timing out, send a `200` success status response i

**Duplicate webhook events**

Duplicate webhooks can happen. For this reason, apps should use idempotent operations to avoid significant unintended side effects. Idempotent operations allow multiple calls without changing the result. A way to ensure webhook events are idempotent is to create a temporary "blacklist" array to store the hash of webhooks that have already been received or handled. When you receive a webhook, you can compare the hash of the received event to the list. If the hash has already been handled you can ignore the event.
Duplicate webhooks can happen. For this reason, apps should use idempotent operations to avoid significant unintended side effects. Idempotent operations allow multiple calls without changing the result. A way to ensure webhook events are idempotent is to create a temporary "blocklist" array to store the hash of webhooks that have already been received or handled. When you receive a webhook, you can compare the hash of the received event to the list. If the hash has already been handled you can ignore the event.

## Tools

Expand Down

0 comments on commit fa33a11

Please sign in to comment.