fix: hasTeamPlan with accepted prop (#10109)

This commit is contained in:
alannnc authored and GitHub committed 2023-07-12 16:40:41 -04:00
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: {