There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(server): do not return subscription if not active (#4820)
liuyia3906bf92b77
diff --git a/packages/backend/server/src/modules/payment/resolver.ts b/packages/backend/server/src/modules/payment/resolver.tsindex f9950bfd9d..913609a76d 100644--- a/packages/backend/server/src/modules/payment/resolver.ts+++ b/packages/backend/server/src/modules/payment/resolver.ts@@ -270,6 +270,7 @@ export class UserSubscriptionResolver {return this.db.userSubscription.findUnique({where: {userId: user.id,+ status: SubscriptionStatus.Active,},});}