The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update route.ts
Steven Teya2766d8fd59d
diff --git a/apps/web/app/api/programs/[programId]/customers/count/route.ts b/apps/web/app/api/programs/[programId]/customers/count/route.tsindex c03e80ee3a..93ab5c1575 100644--- a/apps/web/app/api/programs/[programId]/customers/count/route.ts+++ b/apps/web/app/api/programs/[programId]/customers/count/route.ts@@ -17,7 +17,7 @@ export const GET = withWorkspace(async ({ workspace, params }) => {const count = await prisma.customer.count({where: {- earnings: {+ commissions: {some: {programId,},