From 5d164e0592da64ff608ce2465de01d865a147345 Mon Sep 17 00:00:00 2001 From: Shimon Newman Date: Wed, 17 Jan 2024 22:08:37 +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 b366f99191..472b70b130 100644 --- a/src/Appwrite/Platform/Workers/Hamster.php +++ b/src/Appwrite/Platform/Workers/Hamster.php @@ -432,7 +432,7 @@ class Hamster extends Action $billingPlanDowngrade = $membership->getAttribute('billingPlanDowngrade', null); if (!empty($billingPlan) && empty($billingPlanDowngrade)) { - $statsPerUser['billing-plan'] = $billingPlan; + $statsPerUser['billing_plan'] = $billingPlan; } if (in_array($billingPlan, ['tier-1', 'tier-2'])) {