fix: ensure email body is fresh from template during queue execution

This commit is contained in:
2026-01-25 15:12:34 -05:00
parent 259a905ea5
commit 17061d0c35
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
<x-mail.layout>
{!! Illuminate\View\Compilers\BladeCompiler::render($body, $data) !!}
@if(!empty($body))
{!! Illuminate\View\Compilers\BladeCompiler::render($body, $data ?? []) !!}
@endif
</x-mail.layout>