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'])) {