feat: Organization Add member to a team email communication (#12946)
This commit is contained in:
parent
3791af8644
commit
ef7f0e2259
|
@ -130,6 +130,16 @@ export const inviteMemberHandler = async ({ ctx, input }: InviteMemberOptions) =
|
|||
};
|
||||
}),
|
||||
});
|
||||
|
||||
await sendTeamInviteEmails({
|
||||
currentUserName: ctx?.user?.name,
|
||||
currentUserTeamName: team?.name,
|
||||
existingUsersWithMembersips: autoJoinUsers,
|
||||
language: translation,
|
||||
isOrg: input.isOrg,
|
||||
teamId: team.id,
|
||||
currentUserParentTeamName: team?.parent?.name,
|
||||
});
|
||||
}
|
||||
|
||||
// invited users cannot autojoin, create provisional memberships and send email
|
||||
|
|
Loading…
Reference in New Issue
Block a user