polishing

This commit is contained in:
Daan Meijer
2026-06-23 15:22:14 +02:00
parent a35b50bec6
commit 0c6bab4a04
2 changed files with 3 additions and 2 deletions
@@ -2,6 +2,7 @@
namespace App\Http\Controllers;
use App\Http\Resources\DynamicResource;
use App\Models\Dynamic;
use App\Models\User;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
@@ -44,7 +45,7 @@ class ParticipantController extends Controller
->get();
return Inertia::render('Dynamics/Participants/Show', [
'dynamic' => $dynamic,
'dynamic' => new DynamicResource($dynamic),
'participant' => [
'id' => $user->id,
'name' => $user->name,