fix: hasTeamPlan with accepted prop (#10109)

pull/10113/head^2
alannnc 2023-07-12 13:40:41 -07:00 committed by GitHub
parent 008016902e
commit a1f9012501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ export const hasTeamPlanHandler = async ({ ctx }: HasTeamPlanOptions) => {
const hasTeamPlan = await prisma.membership.findFirst({
where: {
accepted: true,
userId,
team: {
slug: {