From 3f63b87ea62900f4d656c210fbaa1797ad8852ac Mon Sep 17 00:00:00 2001 From: Shimon Newman Date: Wed, 17 Jan 2024 22:09:02 +0200 Subject: [PATCH] Update src/Appwrite/Platform/Workers/Hamster.php Co-authored-by: Christy Jacob --- src/Appwrite/Platform/Workers/Hamster.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Workers/Hamster.php b/src/Appwrite/Platform/Workers/Hamster.php index 537f94e23e..bfaed2ef06 100644 --- a/src/Appwrite/Platform/Workers/Hamster.php +++ b/src/Appwrite/Platform/Workers/Hamster.php @@ -372,7 +372,7 @@ class Hamster extends Action $billingPlanDowngrade = $membership->getAttribute('billingPlanDowngrade', null); if (!empty($billingPlan) && empty($billingPlanDowngrade)) { - $statsPerOrganization['billing-plan'] = $billingPlan; + $statsPerOrganization['billing_plan'] = $billingPlan; } if (in_array($billingPlan, ['tier-1', 'tier-2'])) {