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.

remove _new suffix for stats endpoints

Steven Teyc43707792896
diff --git a/apps/web/lib/stats.ts b/apps/web/lib/stats.ts
index 7da8cb0614..9be8e21f95 100644
--- a/apps/web/lib/stats.ts
+++ b/apps/web/lib/stats.ts
@@ -129,7 +129,7 @@ export const getStats = async ({
}
let url = new URL(
- `https://api.us-east.tinybird.co/v0/pipes/${endpoint}_new.json`,
+ `https://api.us-east.tinybird.co/v0/pipes/${endpoint}.json`,
);
url.searchParams.append("domain", domain);
if (key) {