Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update usage of deprecated sendNow method #7719

Merged
merged 1 commit into from Jun 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/Jobs/UserNotificationDigest.php
Expand Up @@ -49,7 +49,7 @@ public function handle()
}

// TODO: catch and log errors?
Mail::to($this->user)->sendNow(new UserNotificationDigestMail($notifications, $this->user));
Mail::to($this->user)->send(new UserNotificationDigestMail($notifications, $this->user));
}

private function filterNotifications(Collection $notifications)
Expand Down