The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update route.ts
Tim Wilson8f74c9ef10e4
diff --git a/apps/web/app/api/analytics/dashboard/route.ts b/apps/web/app/api/analytics/dashboard/route.tsindex 50db373864..d990b79b5d 100644--- a/apps/web/app/api/analytics/dashboard/route.ts+++ b/apps/web/app/api/analytics/dashboard/route.ts@@ -42,9 +42,11 @@ export const GET = async (req: Request) => {projectId: true,project: {select: {+ id: true,plan: true,usage: true,usageLimit: true,+ createdAt: true,},},...(domain && key ? { links: { select: { id: true } } } : {}),@@ -84,9 +86,11 @@ export const GET = async (req: Request) => {projectId: true,project: {select: {+ id: true,plan: true,usage: true,usageLimit: true,+ createdAt: true,},},},