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 Kd1a95d1d50ba
diff --git a/apps/web/app/(ee)/api/partners/count/route.ts b/apps/web/app/(ee)/api/partners/count/route.ts
index 47b37d7882..792656a815 100644
--- a/apps/web/app/(ee)/api/partners/count/route.ts
+++ b/apps/web/app/(ee)/api/partners/count/route.ts
@@ -100,6 +100,9 @@ export const GET = withWorkspace(
}),
...commonWhere,
},
+ status: status || {
+ in: ["approved", "invited"],
+ },
},
_count: true,
});