Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
chore: return drtrial
Marc Seitze9533eff0a0a
diff --git a/lib/swr/use-billing.ts b/lib/swr/use-billing.tsindex f243321b..c0825f04 100644--- a/lib/swr/use-billing.ts+++ b/lib/swr/use-billing.ts@@ -65,7 +65,7 @@ function parsePlan(plan: BasePlan | PlanWithTrial | PlanWithOld): PlanDetails {const parts = plan.split("+");return {plan: parts[0] as BasePlan, // Always the base plan- trial: parts.includes("drtrial") ? parts[1] : null, // 'drtrial' if present, otherwise null+ trial: parts.includes("drtrial") ? "drtrial" : null, // 'drtrial' if present, otherwise nullold: parts.includes("old"), // true if 'old' is present, otherwise false};}