fix: hasTeamPlan with accepted prop (#10109)
parent
008016902e
commit
a1f9012501
|
@ -12,6 +12,7 @@ export const hasTeamPlanHandler = async ({ ctx }: HasTeamPlanOptions) => {
|
|||
|
||||
const hasTeamPlan = await prisma.membership.findFirst({
|
||||
where: {
|
||||
accepted: true,
|
||||
userId,
|
||||
team: {
|
||||
slug: {
|
||||
|
|
Loading…
Reference in New Issue