feat: send header (#5707)

This commit is contained in:
Apoorv Mishra
2023-08-20 10:55:04 +05:30
committed by GitHub
parent cc2a1865c5
commit c9d62420c8
11 changed files with 44 additions and 10 deletions

View File

@@ -25,7 +25,10 @@ type BeforeSendProps = {
/**
* Email sent to a user when someone they invited successfully signs up.
*/
export default class InviteAcceptedEmail extends BaseEmail<Props> {
export default class InviteAcceptedEmail extends BaseEmail<
Props,
BeforeSendProps
> {
protected async beforeSend({ inviterId }: Props) {
return {
unsubscribeUrl: NotificationSettingsHelper.unsubscribeUrl(