mirror of
https://github.com/freedbygrace/DynamoDNS.git
synced 2026-07-26 11:38:13 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user