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 get-bounties.ts

Kiran Kf53e020f111c
diff --git a/apps/web/lib/api/bounties/get-bounties.ts b/apps/web/lib/api/bounties/get-bounties.ts
index 516d24c0cd..0045164fd5 100644
--- a/apps/web/lib/api/bounties/get-bounties.ts
+++ b/apps/web/lib/api/bounties/get-bounties.ts
@@ -32,7 +32,7 @@ export async function getBounties(filters: BountyFilters) {
-- Partners count
COALESCE(
(
- SELECT COUNT(DISTINCT pe.partnerId)
+ SELECT COUNT(pe.partnerId)
FROM ProgramEnrollment pe
WHERE pe.status IN ('approved', 'invited')
AND (