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 download-top-links.ts

Steven Teye31283b4b32b
diff --git a/apps/web/scripts/download-top-links.ts b/apps/web/scripts/download-top-links.ts
index d58c44aeb2..339f7b8041 100644
--- a/apps/web/scripts/download-top-links.ts
+++ b/apps/web/scripts/download-top-links.ts
@@ -4,11 +4,9 @@ import * as fs from "fs";
import { linkConstructor } from "./utils";
import { getStats } from "@/lib/stats";
-const domain = "xxx";
-
async function main() {
const topLinks = await getStats({
- domain,
+ projectId: "xxx",
endpoint: "top_links",
});