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.

fix ts error

Steven Teye100a5704317
diff --git a/lib/api/links.ts b/lib/api/links.ts
index da3fbd1796..5aa814e20c 100644
--- a/lib/api/links.ts
+++ b/lib/api/links.ts
@@ -214,11 +214,10 @@ export async function addLink(link: LinkProps) {
ios,
android,
},
- // @ts-ignore
{
nx: true,
- // if the key has an expiry, set exat
- ...(exat && { exat }),
+ // if the key has an expiry, set exat (type any cause there's a type error in the @types)
+ ...(exat && { exat: exat as any }),
},
),
]);