feat: stats

This commit is contained in:
2026-05-16 17:11:07 +02:00
parent d9e80f7603
commit 7b8ede2a1a
18 changed files with 254 additions and 53 deletions
@@ -34,11 +34,13 @@ class DeviceTokenController extends Controller
],
], $deviceToken->wasRecentlyCreated ? 201 : 200);
}
public function notifs(): JsonResponse
{
auth()->user()->notify(new TestNotification());
auth()->user()->notify(new TestNotification);
return response()->json([
'message' => 'Notification envoyée'
'message' => 'Notification envoyée',
]);
}