Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Make the subscription created webhook upsert atomic (#3630)

Luke Vella34f3e382069d
diff --git a/apps/web/src/features/billing/webhook/mutations.ts b/apps/web/src/features/billing/webhook/mutations.ts
index 8927536b3..8662774a0 100644
--- a/apps/web/src/features/billing/webhook/mutations.ts
+++ b/apps/web/src/features/billing/webhook/mutations.ts
@@ -351,9 +351,6 @@ async function onCustomerSubscriptionCreated(event: Stripe.Event) {
cancelAtPeriodEnd: subscription.cancel_at_period_end,
spaceId,
},
- include: {
- space: true,
- },
});
if (activated) {