Skip to content

Commit

Permalink
Merge branch 'main' into restrict-token-update
Browse files Browse the repository at this point in the history
  • Loading branch information
devkiran authored Dec 23, 2024
2 parents def5e2e + e52e9c0 commit 5ffdc42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 96 deletions.
3 changes: 2 additions & 1 deletion apps/web/lib/api/tags/combine-tag-ids.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export function combineTagIds({
}): string[] | undefined {
// Use tagIds if present, fall back to tagId
if (tagIds && Array.isArray(tagIds)) {
return tagIds;
// remove duplicates
return [...new Set(tagIds)];
}
return tagId === null ? [] : tagId !== undefined ? [tagId] : undefined;
}
95 changes: 0 additions & 95 deletions apps/web/scripts/bulk-create-links.ts

This file was deleted.

0 comments on commit 5ffdc42

Please sign in to comment.