mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-22 03:21:21 +00:00
@@ -19,7 +19,7 @@ class Subscription extends Model
|
||||
if (! $this->stripe_plan_id) {
|
||||
return 'zero';
|
||||
}
|
||||
$subscription = \App\Models\Subscription::query()->where('id', $this->id)->first();
|
||||
$subscription = Subscription::where('id', $this->id)->first();
|
||||
if (! $subscription) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user