Update src/Appwrite/Platform/Workers/Hamster.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
parent
a954cea8fc
commit
5d164e0592
1 changed files with 1 additions and 1 deletions
|
@ -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'])) {
|
||||||
|
|
Loading…
Reference in a new issue