code improvement
This commit is contained in:
parent
1bf313237f
commit
969339c04b
|
@ -66,7 +66,7 @@ public class NewsletterBackgroundService(ILogger<NewsletterBackgroundService> lo
|
|||
newsletter.Article.BodyHtml + aboutTheAuthor,
|
||||
newsletter.Article.BodyPlain,
|
||||
"newsletter-" + newsletter.Id, replyTo);
|
||||
await client.SendEmailAsync(email);
|
||||
await client.SendEmailAsync(email, cancellationToken);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue