mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix: quota switch (#10347)
This commit is contained in:
@@ -74,7 +74,7 @@ export class QuotaOverride {
|
||||
);
|
||||
break;
|
||||
case SubscriptionPlan.Pro:
|
||||
await this.models.userFeature.add(
|
||||
await this.models.userFeature.switchQuota(
|
||||
userId,
|
||||
recurring === 'lifetime' ? 'lifetime_pro_plan_v1' : 'pro_plan_v1',
|
||||
'subscription activated'
|
||||
|
||||
Reference in New Issue
Block a user