fix: hasTeamPlan with accepted prop (#10109)
This commit is contained in:
1 parent
008016902e
commit
a1f9012501
1 file changed
+1
@@ -12,6 +12,7 @@ export const hasTeamPlanHandler = async ({ ctx }: HasTeamPlanOptions) => {
|
||||
|
||||
const hasTeamPlan = await prisma.membership.findFirst({
|
||||
where: {
|
||||
accepted: true,
|
||||
userId,
|
||||
team: {
|
||||
slug: {
|
||||
|
||||
Reference in new issue
Block a user