Skip to content

Commit f12e19f

Browse files
authored
Merge pull request #11943 from kaitlinnewson/11862-main
#11862 show correct payload and remove unrendered b tags o…
2 parents 6633892 + 5884351 commit f12e19f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/admin/AdminHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,10 +663,10 @@ public function failedJobDetails($args, $request)
663663
}
664664

665665
$rows = collect(array_merge(HttpFailedJobResource::toResourceArray($failedJob), [
666-
'payload' => $failedJob->first()->getRawOriginal('payload'),
666+
'payload' => $failedJob->getRawOriginal('payload'),
667667
]))
668668
->map(fn ($value, $attribute) => is_array($value) ? null : [
669-
'attribute' => '<b>' . __('admin.jobs.list.' . Str::of($attribute)->snake()->replace('_', ' ')->camel()->value()) . '</b>',
669+
'attribute' => __('admin.jobs.list.' . Str::of($attribute)->snake()->replace('_', ' ')->camel()->value()),
670670
'value' => isValidJson($value) ? json_encode(json_decode($value, true), JSON_PRETTY_PRINT) : $value
671671
])
672672
->filter()

0 commit comments

Comments
 (0)