style(billing): shorten past_due comment under line limit

This commit is contained in:
Tanmay Deep Sharma
2026-06-09 13:34:23 +05:30
parent eeca70e841
commit ea2c08669f
@@ -130,7 +130,7 @@ class Enterprise::Billing::SwitchCurrencyService
)
end
# Includes trialing (a prior switch leaves the new sub trialing); excludes past_due so a delinquent account can't switch to restore access without paying.
# Includes trialing (a prior switch leaves the new sub trialing); excludes past_due so a delinquent account can't switch to restore access unpaid.
def live_subscriptions
Stripe::Subscription.list(customer: stripe_customer_id, status: 'all', limit: 100).data
.select { |subscription| %w[active trialing].include?(subscription.status) }