mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-20 19:46:32 +08:00
fix(server): workspace sub status (#15155)
#### PR Dependency Tree * **PR #15155** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal)
This commit is contained in:
@@ -72,7 +72,7 @@ export class WorkspaceSubscriptionManager extends SubscriptionManager {
|
||||
params: z.infer<typeof CheckoutParams>,
|
||||
args: z.infer<typeof WorkspaceSubscriptionCheckoutArgs>
|
||||
) {
|
||||
const subscription = await this.getSubscription({
|
||||
const subscription = await this.getActiveSubscription({
|
||||
plan: SubscriptionPlan.Team,
|
||||
workspaceId: args.workspaceId,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user