mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix: Fix user reinvites on FE and BE (#8261)
This commit is contained in:
@@ -270,7 +270,7 @@ export class UserService {
|
||||
const usersInvited = await this.sendEmails(
|
||||
owner,
|
||||
Object.fromEntries(createdUsers),
|
||||
toCreateUsers[0].role, // same role for all invited users
|
||||
attributes[0].role, // same role for all invited users
|
||||
);
|
||||
|
||||
return { usersInvited, usersCreated: toCreateUsers.map(({ email }) => email) };
|
||||
|
||||
Reference in New Issue
Block a user