Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Fix: webhook picker offers the customer events Spree actually sends (#14719)

Damian Legawiecdd8d39dc4e62
diff --git a/packages/dashboard/src/schemas/webhook-endpoint.ts b/packages/dashboard/src/schemas/webhook-endpoint.ts
index 7a369ca293..ec0bbac4d4 100644
--- a/packages/dashboard/src/schemas/webhook-endpoint.ts
+++ b/packages/dashboard/src/schemas/webhook-endpoint.ts
@@ -48,11 +48,12 @@ export const WEBHOOK_EVENT_GROUPS: readonly WebhookEventGroup[] = [
{
labelKey: 'admin.pages.settings.webhooks.event_groups.customer',
events: [
- 'customer.created',
- 'customer.deleted',
+ 'customer.anonymized',
'customer.password_reset',
'customer.password_reset_requested',
- 'customer.updated',
+ 'user.created',
+ 'user.deleted',
+ 'user.updated',
],
},
{