Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

bug fix

daniel31x13b64f9717b198
diff --git a/apps/web/lib/api/stripe/handleSubscription.ts b/apps/web/lib/api/stripe/handleSubscription.ts
index a6cb7cb4..ab350654 100644
--- a/apps/web/lib/api/stripe/handleSubscription.ts
+++ b/apps/web/lib/api/stripe/handleSubscription.ts
@@ -35,6 +35,7 @@ export default async function handleSubscription({
},
data: {
active,
+ provider: "STRIPE",
quantity,
currentPeriodStart: new Date(periodStart * 1000),
currentPeriodEnd: new Date(periodEnd * 1000),
diff --git a/apps/web/pages/api/v1/webhooks/revenuecat.ts b/apps/web/pages/api/v1/webhooks/revenuecat.ts
index 7d3dfb6e..a11e9882 100644
--- a/apps/web/pages/api/v1/webhooks/revenuecat.ts
+++ b/apps/web/pages/api/v1/webhooks/revenuecat.ts
@@ -101,6 +101,7 @@ export default async function revenueCatWebhook(
},
data: {
active,
+ provider: "REVENUECAT",
currentPeriodStart,
currentPeriodEnd,
quantity: 1,