code improvement

This commit is contained in:
Mia Rose Winter 2024-09-09 17:05:50 +02:00
parent 1bf313237f
commit 969339c04b
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E

View file

@ -66,7 +66,7 @@ public class NewsletterBackgroundService(ILogger<NewsletterBackgroundService> lo
newsletter.Article.BodyHtml + aboutTheAuthor, newsletter.Article.BodyHtml + aboutTheAuthor,
newsletter.Article.BodyPlain, newsletter.Article.BodyPlain,
"newsletter-" + newsletter.Id, replyTo); "newsletter-" + newsletter.Id, replyTo);
await client.SendEmailAsync(email); await client.SendEmailAsync(email, cancellationToken);
} }
} }
} }