-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PS-148 notification email #41
Conversation
MysticFragilist
commented
Apr 8, 2024
•
edited
Loading
edited
var notifService = (serviceScope.ServiceProvider?.GetService<INotificationService>()) ?? throw new SchedulerException("Cannot instantiate NotificationService from the AspNet Core IOC."); | ||
|
||
var emailsCount = await notifService.SendNewsForRemainingPublication(); | ||
await Console.Out.WriteLineAsync($"[NotificationByEmailJob] {emailsCount} emails were sent out"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ça c'est tu nécessaire? 😮
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ouii pour logger des info! Mais tu me fais penser que c'est mieux de use le logger provided
Co-authored-by: Camille Brulotte <37625944+camillebrulotte@users.noreply.github.com>
Co-authored-by: Camille Brulotte <37625944+camillebrulotte@users.noreply.github.com>
Co-authored-by: Camille Brulotte <37625944+camillebrulotte@users.noreply.github.com>
Co-authored-by: Camille Brulotte <37625944+camillebrulotte@users.noreply.github.com>
Co-authored-by: Camille Brulotte <37625944+camillebrulotte@users.noreply.github.com>
Co-authored-by: Camille Brulotte <37625944+camillebrulotte@users.noreply.github.com>
…ckend-Hello into ftr/ps-148-notification-email
Quality Gate failedFailed conditions |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM