feat: stats
This commit is contained in:
@@ -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',
|
||||
]);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user