mirror of
https://github.com/docmost/docmost.git
synced 2025-11-15 15:31:14 +10:00
fix: send "invitation accepted" email to inviter (#331)
The email says "${invitedUserName} has accepted your invitation ...", so it makes more sense to send it to the inviter instead of the invitee.
This commit is contained in:
@ -248,7 +248,7 @@ export class WorkspaceInvitationService {
|
||||
});
|
||||
|
||||
await this.mailService.sendToQueue({
|
||||
to: invitation.email,
|
||||
to: invitedByUser.email,
|
||||
subject: `${newUser.name} has accepted your Docmost invite`,
|
||||
template: emailTemplate,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user