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 record-fake-click.ts

Kiran K86238214276e
diff --git a/apps/web/lib/tinybird/record-fake-click.ts b/apps/web/lib/tinybird/record-fake-click.ts
index 67a6b2fe8c..8e2613c192 100644
--- a/apps/web/lib/tinybird/record-fake-click.ts
+++ b/apps/web/lib/tinybird/record-fake-click.ts
@@ -12,6 +12,7 @@ export async function recordFakeClick({
customer?: {
country?: string | null;
region?: string | null;
+ continent?: string | null;
};
timestamp?: string | number;
}) {
@@ -21,7 +22,7 @@ export async function recordFakeClick({
"x-forwarded-for": "127.0.0.1",
"x-vercel-ip-country": customer?.country || "US",
"x-vercel-ip-country-region": customer?.region || "CA",
- "x-vercel-ip-continent": "NA",
+ "x-vercel-ip-continent": customer?.continent || "NA",
}),
});