From 6cbfe6b1bf328f34f965f695632c3b611f94eca6 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 31 Mar 2021 11:14:19 +1100 Subject: [PATCH] rename method for subcsriptions --- app/Services/Subscription/SubscriptionService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Subscription/SubscriptionService.php b/app/Services/Subscription/SubscriptionService.php index 31c6b91f5be4..646b2e0fb5d4 100644 --- a/app/Services/Subscription/SubscriptionService.php +++ b/app/Services/Subscription/SubscriptionService.php @@ -216,7 +216,7 @@ class SubscriptionService return Product::whereIn('id', $this->transformKeys(explode(",", $this->subscription->product_ids)))->get(); } - public function recurringProducts() + public function recurring_products() { return Product::whereIn('id', $this->transformKeys(explode(",", $this->subscription->recurring_product_ids)))->get(); }