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({
|
const hasTeamPlan = await prisma.membership.findFirst({
|
||||||
where: {
|
where: {
|
||||||
|
accepted: true,
|
||||||
userId,
|
userId,
|
||||||
team: {
|
team: {
|
||||||
slug: {
|
slug: {
|
||||||
|
|
Loading…
Reference in New Issue