mirror of
https://github.com/documenso/documenso.git
synced 2026-07-12 14:05:20 +10:00
fix: allow past due subscriptions (#2420)
Allow plans with past_due subscriptions to continue to use the platform until the subscription becomes inactive.
This commit is contained in:
@@ -70,7 +70,7 @@ export const getServerLimits = async ({
|
||||
}
|
||||
|
||||
// Early return for users with an expired subscription.
|
||||
if (subscription && subscription.status !== SubscriptionStatus.ACTIVE) {
|
||||
if (subscription && subscription.status === SubscriptionStatus.INACTIVE) {
|
||||
return {
|
||||
quota: INACTIVE_PLAN_LIMITS,
|
||||
remaining: INACTIVE_PLAN_LIMITS,
|
||||
|
||||
Reference in New Issue
Block a user