From c015a7a09a805df82a6bfcb4860659395adf384f Mon Sep 17 00:00:00 2001 From: alphaeusmote <41258468-alphaeusmote@users.noreply.replit.com> Date: Sat, 12 Apr 2025 00:08:31 +0000 Subject: [PATCH] Fix: Update webhook page to use customer ID instead of organization ID Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/cef45a7e-c7a3-4336-bdaa-b92707470ca2.jpg --- client/src/pages/webhooks.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/pages/webhooks.tsx b/client/src/pages/webhooks.tsx index bb188f1..406ea2c 100644 --- a/client/src/pages/webhooks.tsx +++ b/client/src/pages/webhooks.tsx @@ -175,7 +175,7 @@ export default function WebhooksPage() { description: "The webhook has been updated successfully.", }); queryClient.invalidateQueries({ - queryKey: ["/api/webhooks", currentOrganization?.id], + queryKey: ["/api/webhooks", currentCustomer?.id], }); setIsEditOpen(false); resetForm(); @@ -200,7 +200,7 @@ export default function WebhooksPage() { description: "The webhook has been deleted successfully.", }); queryClient.invalidateQueries({ - queryKey: ["/api/webhooks", currentOrganization?.id], + queryKey: ["/api/webhooks", currentCustomer?.id], }); setIsDeleteOpen(false); setCurrentWebhook(null);