fix: 🐛 WinningProofAdminMail was sending wrong EAN code

This commit is contained in:
Jérémy Munsch 2024-05-28 15:40:06 +02:00
parent 0b3ff7628c
commit cf42dfd311
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -75,7 +75,7 @@ class WinningProofAdminMail extends Mailable implements ShouldQueue
trans('Code Unique : :code', ['code' => $this->unique_code]),
];
if ($this->ean_code) {
$participation[] = trans('Code EAN : :code', ['code' => $this->unique_code]);
$participation[] = trans('Code EAN : :code', ['code' => $this->ean_code]);
}
return new Content(
htmlString: (new MailMessage())