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 Kb059ba7ab03b
diff --git a/apps/web/app/(ee)/api/commissions/count/route.ts b/apps/web/app/(ee)/api/commissions/count/route.ts
index fc15e148d2..611a102193 100644
--- a/apps/web/app/(ee)/api/commissions/count/route.ts
+++ b/apps/web/app/(ee)/api/commissions/count/route.ts
@@ -47,7 +47,8 @@ export const GET = withWorkspace(async ({ workspace, searchParams }) => {
...(groupId && {
partner: {
programs: {
- every: {
+ some: {
+ programId,
groupId,
},
},