Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update route.ts

Kiran K05d12415a029
diff --git a/apps/web/app/api/programs/[programId]/customers/count/route.ts b/apps/web/app/api/programs/[programId]/customers/count/route.ts
index 93ab5c1575..9e17a1482f 100644
--- a/apps/web/app/api/programs/[programId]/customers/count/route.ts
+++ b/apps/web/app/api/programs/[programId]/customers/count/route.ts
@@ -12,9 +12,6 @@ export const GET = withWorkspace(async ({ workspace, params }) => {
programId,
});
- // TODO:
- // Why can we do where {programId} here?
-
const count = await prisma.customer.count({
where: {
commissions: {