FIX envoi des mail preuve de gain
This commit is contained in:
parent
630ddd6f54
commit
a273ab65ed
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ class WinningProofController extends Controller
|
|||
$settings = Settings::find(1);
|
||||
$mails = json_decode($settings->notification_emails);
|
||||
foreach ($mails as $mail) {
|
||||
Mail::to($mail)->send(new WinningProof($stickerPath, $ticketPath, $barcodePath, $participation, $user, $settings));
|
||||
Mail::to($mail->email)->send(new WinningProof($stickerPath, $ticketPath, $barcodePath, $participation, $user, $settings));
|
||||
}
|
||||
|
||||
return view('front.basic.replay');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue