Skip to content

Commit

Permalink
fix(INTERNAL-1287): fix participants duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
asabotovich committed Oct 28, 2024
1 parent 1fbef73 commit 08dd991
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trpc/router/projectV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ export const project = router({
...project,
...(children != null ? { children } : undefined),
parent: pickUniqueValues(project.parent, 'id'),
participants: pickUniqueValues(project.participants, 'id'),
accessUsers,
};
}),
Expand Down

0 comments on commit 08dd991

Please sign in to comment.