1
0
Fork 0
mirror of synced 2024-10-01 17:58:02 +13:00

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

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Shimon Newman 2024-01-17 22:08:37 +02:00 committed by GitHub
parent a954cea8fc
commit 5d164e0592
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -432,7 +432,7 @@ class Hamster extends Action
$billingPlanDowngrade = $membership->getAttribute('billingPlanDowngrade', null); $billingPlanDowngrade = $membership->getAttribute('billingPlanDowngrade', null);
if (!empty($billingPlan) && empty($billingPlanDowngrade)) { if (!empty($billingPlan) && empty($billingPlanDowngrade)) {
$statsPerUser['billing-plan'] = $billingPlan; $statsPerUser['billing_plan'] = $billingPlan;
} }
if (in_array($billingPlan, ['tier-1', 'tier-2'])) { if (in_array($billingPlan, ['tier-1', 'tier-2'])) {