fix: ensure email body is fresh from template during queue execution
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user