diff --git a/infra/cloud.ts b/infra/cloud.ts index faea8826..f81e9c45 100644 --- a/infra/cloud.ts +++ b/infra/cloud.ts @@ -68,7 +68,7 @@ export const auth = new sst.cloudflare.Worker("AuthApi", { // GATEWAY //////////////// -export const stripeWebhook = new WebhookEndpoint("StripeWebhook", { +export const stripeWebhook = new WebhookEndpoint("StripeWebhookEndpoint", { url: $interpolate`https://${domain}/stripe/webhook`, enabledEvents: [ "checkout.session.async_payment_failed",