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

@@ -27,7 +27,10 @@ type BeforeSendProps = {
* Email sent to a user when their data export has completed and is available
* for download in the settings section.
*/
export default class ExportSuccessEmail extends BaseEmail<Props> {
export default class ExportSuccessEmail extends BaseEmail<
Props,
BeforeSendProps
> {
protected async beforeSend({ userId }: Props) {
return {
unsubscribeUrl: NotificationSettingsHelper.unsubscribeUrl(