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 embed-token.ts

Kiran K70de670d976b
diff --git a/apps/web/lib/embed/embed-token.ts b/apps/web/lib/embed/embed-token.ts
index 1ba40bfabd..231260ca0d 100644
--- a/apps/web/lib/embed/embed-token.ts
+++ b/apps/web/lib/embed/embed-token.ts
@@ -6,10 +6,10 @@ import {
EMBED_PUBLIC_TOKEN_PREFIX,
} from "./constants";
-type EmbedTokenProps = {
+interface EmbedTokenProps {
programId: string;
partnerId: string;
-};
+}
class EmbedToken {
async create(props: EmbedTokenProps) {