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

Tim Wilsonb2acc424ae0c
diff --git a/apps/web/app/(ee)/api/network/programs/route.ts b/apps/web/app/(ee)/api/network/programs/route.ts
index de4170bc5c..04f0fbbe93 100644
--- a/apps/web/app/(ee)/api/network/programs/route.ts
+++ b/apps/web/app/(ee)/api/network/programs/route.ts
@@ -73,7 +73,7 @@ export const GET = withPartnerProfile(async ({ partner, searchParams }) => {
},
},
}),
- ...(status && {
+ ...(status !== undefined && {
partners:
status === null
? { none: { partnerId: partner.id } }