Overview of upcoming events

This commit is contained in:
2026-04-25 21:23:32 +02:00
parent f813056bf7
commit 8348f677a5
7 changed files with 108 additions and 8 deletions

View File

@@ -41,7 +41,10 @@ class DashboardController extends CommonController {
}
public function getMyParticipations() : JsonResponse {
//dd($this->eventParticipants->getMyParticipations());
return response()->json(['myParticipations' => $this->eventParticipants->getMyParticipations()]);
}
public function getUpcomingEvents() : JsonResponse {
return response()->json(['upcomingEvents' => $this->events->getUpcoming()]);
}
}