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.

add comment

Steven Teyb6cba92b79f2
diff --git a/apps/web/lib/dub.ts b/apps/web/lib/dub.ts
index 6c6fa1ca2f..acb509885a 100644
--- a/apps/web/lib/dub.ts
+++ b/apps/web/lib/dub.ts
@@ -2,6 +2,7 @@ import { Dub } from "dub";
export const dub = new Dub();
+// fetch Dub customer using their external ID (ID in our database)
export const getDubCustomer = async (userId: string) => {
try {
return await dub.customers.get({