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.

Merge branch 'main' into link-folders

Kiran K8c54dd6c8f3e
diff --cc apps/web/lib/api/links/propagate-bulk-link-changes.ts
index ead0d878a4,4721df8d56..78fc214099
--- a/apps/web/lib/api/links/propagate-bulk-link-changes.ts
+++ b/apps/web/lib/api/links/propagate-bulk-link-changes.ts
@@@ -37,9 -36,8 +36,9 @@@ export async function propagateBulkLink
domain: link.domain,
key: link.key,
url: link.url,
- tag_ids: link.tags.map((tag) => tag.tagId),
- folder_id: link.folderId,
+ tag_ids: link.tags?.map(({ tag }) => tag.id) ?? [],
workspace_id: link.projectId,
++ folder_id: link.folderId,
created_at: link.createdAt,
})),
),