mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +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( |     async sendScheduledExecutionFailedEmail( | ||||||
|         name: string, |  | ||||||
|         recipient: string, |         recipient: string, | ||||||
|         changeRequestLink: string, |         changeRequestLink: string, | ||||||
|         changeRequestTitle: string, |         changeRequestTitle: string, | ||||||
| @ -85,9 +84,9 @@ export class EmailService { | |||||||
|                 TemplateFormat.HTML, |                 TemplateFormat.HTML, | ||||||
|                 { |                 { | ||||||
|                     changeRequestLink, |                     changeRequestLink, | ||||||
|  |                     changeRequestTitle, | ||||||
|                     scheduledAt, |                     scheduledAt, | ||||||
|                     errorMessage, |                     errorMessage, | ||||||
|                     name, |  | ||||||
|                     year, |                     year, | ||||||
|                 }, |                 }, | ||||||
|             ); |             ); | ||||||
| @ -99,7 +98,6 @@ export class EmailService { | |||||||
|                     changeRequestTitle, |                     changeRequestTitle, | ||||||
|                     scheduledAt, |                     scheduledAt, | ||||||
|                     errorMessage, |                     errorMessage, | ||||||
|                     name, |  | ||||||
|                     year, |                     year, | ||||||
|                 }, |                 }, | ||||||
|             ); |             ); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user