From 49bbefae649bb8977cce177fbaaab2db55eeac59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maurice=20Preu=C3=9F?= Date: Thu, 29 Sep 2022 14:58:49 +0200 Subject: [PATCH] Update Subscriptions.php --- src/Accounts/Traits/BitinflowPaymentsWallet/Subscriptions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Accounts/Traits/BitinflowPaymentsWallet/Subscriptions.php b/src/Accounts/Traits/BitinflowPaymentsWallet/Subscriptions.php index a3e03aa..309316e 100644 --- a/src/Accounts/Traits/BitinflowPaymentsWallet/Subscriptions.php +++ b/src/Accounts/Traits/BitinflowPaymentsWallet/Subscriptions.php @@ -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; }