From 87d687dd8a69becd45e3c9605c346e0fd1eede07 Mon Sep 17 00:00:00 2001 From: M Fahru Date: Tue, 6 May 2025 09:49:51 -0700 Subject: [PATCH] Merge pull request #25288 from overleaf/mf-stripe-webhook-subscription-updated [web] Handle `customer.subscription.updated` stripe webhook event type GitOrigin-RevId: 821baee5d5a45b92ee7bce47598a5e3ea5aa95ea --- services/web/types/stripe/webhook-event.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/web/types/stripe/webhook-event.ts b/services/web/types/stripe/webhook-event.ts index 6be2ea1e95..648f26b8dc 100644 --- a/services/web/types/stripe/webhook-event.ts +++ b/services/web/types/stripe/webhook-event.ts @@ -1,4 +1,4 @@ -type CustomerSubscriptionCreated = { +export type CustomerSubscriptionWebhookEvent = { type: 'customer.subscription.created' data: { object: { @@ -9,5 +9,3 @@ type CustomerSubscriptionCreated = { } } } - -export type WebhookEvent = CustomerSubscriptionCreated