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.tsx

Steven Tey5bee623e3ce1
diff --git a/apps/web/app/api/og/stats/route.tsx b/apps/web/app/api/og/stats/route.tsx
index 9672ca177e..82efb32795 100644
--- a/apps/web/app/api/og/stats/route.tsx
+++ b/apps/web/app/api/og/stats/route.tsx
@@ -31,8 +31,8 @@ export async function GET(req: NextRequest) {
}
const timeseries = await getStats({
- domain,
- key,
+ projectId: data.projectId as string,
+ linkId: data.id,
endpoint: "timeseries",
interval: "30d",
});