fix(server): do not return subscription if not active (#4820)
This commit is contained in:
1 parent
0a88be7771
commit
a3906bf92b
1 file changed
+1
@@ -270,6 +270,7 @@ export class UserSubscriptionResolver {
|
||||
return this.db.userSubscription.findUnique({
|
||||
where: {
|
||||
userId: user.id,
|
||||
status: SubscriptionStatus.Active,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user