Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: update pause behavior
Marc Seitz887dea1f40fe
diff --git a/ee/features/billing/cancellation/api/pause-route.ts b/ee/features/billing/cancellation/api/pause-route.tsindex 5a8d89fb..96dbea00 100644--- a/ee/features/billing/cancellation/api/pause-route.ts+++ b/ee/features/billing/cancellation/api/pause-route.ts@@ -71,7 +71,7 @@ export async function handleRoute(req: NextApiRequest, res: NextApiResponse) {// Pause the subscription in Stripeawait stripe.subscriptions.update(team.subscriptionId, {pause_collection: {- behavior: "void",+ behavior: "mark_uncollectible",resumes_at: pauseEndsAt.getTime() / 1000, // Convert to seconds},metadata: {