diff --git a/src/app/users/users.component.ts b/src/app/users/users.component.ts index f133e8c..26f9374 100644 --- a/src/app/users/users.component.ts +++ b/src/app/users/users.component.ts @@ -37,7 +37,7 @@ export class UsersComponent implements OnInit { if(invitation) { invitation.link = this.link + invitation.link; } - let notification: Notification = NotificationUtils.invite(this.name, role, this.user.firstname + ' ' + this.user.lastname, invitation); + let notification: Notification = NotificationUtils.invite(this.name, role, 'user', invitation); notification.entity = recipient; notification.stakeholderType = this.type; notification.stakeholder = this.alias;