Handle trial limit lifecycle

This commit is contained in:
Owen
2026-05-03 14:30:34 -07:00
parent eb515a8f7f
commit 1a926a7127
3 changed files with 40 additions and 12 deletions

View File

@@ -44,7 +44,7 @@ function getLimitSetForSubscriptionType(
export async function handleSubscriptionLifesycle(
orgId: string,
status: string,
subType: SubscriptionType | null
subType: SubscriptionType | null = null
) {
switch (status) {
case "active":