From fbac1fae0ba9ceef8e40a460419a8810ce46ac6e Mon Sep 17 00:00:00 2001 From: isra el Date: Mon, 13 Oct 2025 06:35:15 +0300 Subject: [PATCH] chore(web): temporarily disable unknown state and sms status updated webhook events --- .../(components)/webhooks/create-webhook-dialog.tsx | 6 ++++-- .../dashboard/(components)/webhooks/edit-webhook-dialog.tsx | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/web/app/(app)/dashboard/(components)/webhooks/create-webhook-dialog.tsx b/web/app/(app)/dashboard/(components)/webhooks/create-webhook-dialog.tsx index 26d396c..01d61d9 100644 --- a/web/app/(app)/dashboard/(components)/webhooks/create-webhook-dialog.tsx +++ b/web/app/(app)/dashboard/(components)/webhooks/create-webhook-dialog.tsx @@ -100,8 +100,10 @@ export function CreateWebhookDialog({ 'MESSAGE_SENT', 'MESSAGE_DELIVERED', 'MESSAGE_FAILED', - 'UNKNOWN_STATE', - 'SMS_STATUS_UPDATED', + + // TODO: handle these events better in the future + // 'UNKNOWN_STATE', + // 'SMS_STATUS_UPDATED', ] return ( diff --git a/web/app/(app)/dashboard/(components)/webhooks/edit-webhook-dialog.tsx b/web/app/(app)/dashboard/(components)/webhooks/edit-webhook-dialog.tsx index 0003db8..f24353c 100644 --- a/web/app/(app)/dashboard/(components)/webhooks/edit-webhook-dialog.tsx +++ b/web/app/(app)/dashboard/(components)/webhooks/edit-webhook-dialog.tsx @@ -107,8 +107,10 @@ export function EditWebhookDialog({ 'MESSAGE_SENT', 'MESSAGE_DELIVERED', 'MESSAGE_FAILED', - 'UNKNOWN_STATE', - 'SMS_STATUS_UPDATED', + + // TODO: handle these events better in the future + // 'UNKNOWN_STATE', + // 'SMS_STATUS_UPDATED', ] return (