Refactor subscription handling logic in middleware and model

This commit is contained in:
Andras Bacsai committed 2024-02-23 13:50:48 +01:00
1 parent f78fd212bb
commit 3b942049a2
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -54,7 +54,6 @@ class Subscription extends Model
};
})->first();
if ($stripePlanId) {
raY($stripePlanId);
return str($stripePlanId)->after('stripe_price_id_')->before('_')->lower();
}
}