diff --git a/packages/server/safeMutations/acceptTeamInvitation.ts b/packages/server/safeMutations/acceptTeamInvitation.ts index ddbf3788419..52946e4d7d5 100644 --- a/packages/server/safeMutations/acceptTeamInvitation.ts +++ b/packages/server/safeMutations/acceptTeamInvitation.ts @@ -46,7 +46,7 @@ const handleFirstAcceptedInvitation = async (team: Team): Promise } /** - * Must not be run in parallel + * Must not be run in parallel for the same `userId` and multiple `team` objects on the same org */ const acceptTeamInvitation = async (team: Team, userId: string, dataLoader: DataLoaderWorker) => { const r = await getRethink()