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:
parent
e96330afbf
commit
2ae3816324
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ export class WorkspaceInvitationService {
|
||||||
});
|
});
|
||||||
|
|
||||||
await this.mailService.sendToQueue({
|
await this.mailService.sendToQueue({
|
||||||
to: invitation.email,
|
to: invitedByUser.email,
|
||||||
subject: `${newUser.name} has accepted your Docmost invite`,
|
subject: `${newUser.name} has accepted your Docmost invite`,
|
||||||
template: emailTemplate,
|
template: emailTemplate,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue