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 back identifier for backwards compatibility

Steven Teyb9057efd161f
diff --git a/apps/web/lib/api/links/utils/transform-link.ts b/apps/web/lib/api/links/utils/transform-link.ts
index a7cb981a4c..a4805e50f0 100644
--- a/apps/web/lib/api/links/utils/transform-link.ts
+++ b/apps/web/lib/api/links/utils/transform-link.ts
@@ -16,6 +16,7 @@ export const transformLink = (link: ExpandedLink) => {
return {
...rest,
+ identifier: null, // backwards compatibility
tagId: tags?.[0]?.id ?? null, // backwards compatibility
tags,
webhookIds,