From d4df9f6dfe4b90538c25bb51109de3f65767bcf0 Mon Sep 17 00:00:00 2001 From: Dev-Khant Date: Thu, 20 Feb 2025 01:27:26 +0530 Subject: [PATCH] fix webhook doc --- docs/features/webhook.mdx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/features/webhook.mdx b/docs/features/webhook.mdx index d3b59d2f..5c083117 100644 --- a/docs/features/webhook.mdx +++ b/docs/features/webhook.mdx @@ -121,17 +121,14 @@ Modify an existing webhook's configuration. Remember that webhooks can only be u ```python Python # Update webhook in default project updated_webhook = client.update_webhook( - webhook_id="wh_123", name="Updated Logger", url="https://your-app.com/new-webhook" ) # Or update in a specific project updated_webhook = client.update_webhook( - webhook_id="wh_123", name="Updated Logger", - url="https://your-app.com/new-webhook", - project_id="proj_123" + url="https://your-app.com/new-webhook" ) print(updated_webhook) ```