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

@@ -24,7 +24,10 @@ type BeforeSendProps = {
/**
* Email sent to a user when their data export has failed for some reason.
*/
export default class ExportFailureEmail extends BaseEmail<Props> {
export default class ExportFailureEmail extends BaseEmail<
Props,
BeforeSendProps
> {
protected async beforeSend({ userId }: Props) {
return {
unsubscribeUrl: NotificationSettingsHelper.unsubscribeUrl(