fix(server): should auto apply ea price for users (#9082)

This commit is contained in:
forehalo
2024-12-10 05:31:19 +00:00
parent 36a95463b4
commit 564faa439a
6 changed files with 78 additions and 55 deletions

View File

@@ -476,7 +476,6 @@ test('should get correct pro plan price for checking out', async t => {
{
plan: SubscriptionPlan.Pro,
recurring: SubscriptionRecurring.Yearly,
variant: SubscriptionVariant.EA,
successCallbackLink: '',
},
{ user: u1 }
@@ -593,7 +592,6 @@ test('should get correct ai plan price for checking out', async t => {
{
plan: SubscriptionPlan.AI,
recurring: SubscriptionRecurring.Yearly,
variant: SubscriptionVariant.EA,
successCallbackLink: '',
},
{ user: u1 }