Update src/Appwrite/Platform/Workers/Hamster.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Shimon NewmanandChristy Jacob authored and GitHub committed 2024-01-17 22:08:37 +02:00
1 parent a954cea8fc
commit 5d164e0592
1 file changed
+1 -1
+1 -1
View File
@@ -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'])) {