소스 검색

Merge pull request #25288 from overleaf/mf-stripe-webhook-subscription-updated

[web] Handle `customer.subscription.updated` stripe webhook event type

GitOrigin-RevId: 821baee5d5a45b92ee7bce47598a5e3ea5aa95ea
M Fahru 1 년 전
부모
커밋
661aa20c09
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      services/web/types/stripe/webhook-event.ts

+ 1 - 3
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