The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix filtering logic
Steven Teyf9d7961e5b94
diff --git a/apps/web/app/(ee)/api/network/programs/route.ts b/apps/web/app/(ee)/api/network/programs/route.tsindex e4fa8b50d4..1114289918 100644--- a/apps/web/app/(ee)/api/network/programs/route.ts+++ b/apps/web/app/(ee)/api/network/programs/route.ts@@ -31,15 +31,6 @@ export const GET = withPartnerProfile(async ({ partner, searchParams }) => {addedToMarketplaceAt: {not: null,},- // Has a published default application form- groups: {- some: {- slug: DEFAULT_PARTNER_GROUP.slug,- applicationFormPublishedAt: {- not: null,- },- },- },...(featured && {featuredOnMarketplaceAt: {not: null,diff --git a/apps/web/lib/fetchers/get-network-program.ts b/apps/web/lib/fetchers/get-network-program.tsindex 145f9e5d61..276cd9fe57 100644--- a/apps/web/lib/fetchers/get-network-program.ts+++ b/apps/web/lib/fetchers/get-network-program.ts@@ -11,14 +11,6 @@ export const getNetworkProgram = cache(async ({ slug }: { slug: string }) => {addedToMarketplaceAt: {not: null,},- groups: {- some: {- slug: DEFAULT_PARTNER_GROUP.slug,- applicationFormPublishedAt: {- not: null,- },- },- },},include: {groups: {