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 Kb1e7ef9f8e28
diff --git a/apps/web/app/api/partner-profile/programs/[programId]/earnings/count/route.ts b/apps/web/app/api/partner-profile/programs/[programId]/earnings/count/route.ts
index 5a91138475..02a855abaa 100644
--- a/apps/web/app/api/partner-profile/programs/[programId]/earnings/count/route.ts
+++ b/apps/web/app/api/partner-profile/programs/[programId]/earnings/count/route.ts
@@ -17,7 +17,6 @@ export const GET = withPartnerProfile(
const {
groupBy,
- type,
status,
linkId,
customerId,
@@ -114,8 +113,6 @@ export const GET = withPartnerProfile(
},
});
- console.log("count", count, where);
-
return NextResponse.json({ count });
}
},