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 K10a88ecd43ae
diff --git a/apps/web/app/api/partners/route.ts b/apps/web/app/api/partners/route.ts
index 86b1ef681b..951a9403da 100644
--- a/apps/web/app/api/partners/route.ts
+++ b/apps/web/app/api/partners/route.ts
@@ -49,6 +49,7 @@ export const GET = withWorkspace(
} = partnersQuerySchema.parse(searchParams);
const sortColumnsMap = {
+ createdAt: "pe.createdAt",
clicks: "totalClicks",
leads: "totalLeads",
sales: "totalSales",