mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
fix: scheduled cr failed email (#5522)
Relates to # [1-1687](https://linear.app/unleash/issue/1-1687/send-an-email-when-the-scheduling-fails) Removed `name` - not in template Added missed `changeRequestTitle` for the html template context Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
parent
08204e57d4
commit
3056456770
@ -71,7 +71,6 @@ export class EmailService {
|
||||
}
|
||||
|
||||
async sendScheduledExecutionFailedEmail(
|
||||
name: string,
|
||||
recipient: string,
|
||||
changeRequestLink: string,
|
||||
changeRequestTitle: string,
|
||||
@ -85,9 +84,9 @@ export class EmailService {
|
||||
TemplateFormat.HTML,
|
||||
{
|
||||
changeRequestLink,
|
||||
changeRequestTitle,
|
||||
scheduledAt,
|
||||
errorMessage,
|
||||
name,
|
||||
year,
|
||||
},
|
||||
);
|
||||
@ -99,7 +98,6 @@ export class EmailService {
|
||||
changeRequestTitle,
|
||||
scheduledAt,
|
||||
errorMessage,
|
||||
name,
|
||||
year,
|
||||
},
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user