mirror of
https://github.com/bitinflow/accounts.git
synced 2026-03-13 13:35:52 +00:00
Update Subscriptions.php
This commit is contained in:
@@ -61,7 +61,7 @@ class Subscriptions
|
||||
*/
|
||||
public function has(string $name = 'default'): bool
|
||||
{
|
||||
$subscription = $this->getSubscription($name);
|
||||
$subscription = $this->get($name);
|
||||
|
||||
return $subscription && $subscription->status === 'settled' || $subscription && $subscription->resumeable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user