LAR_Maintenance/routes/api.php
JonatanRek 571df9a0a4 Fixes
2024-07-30 18:13:21 +02:00

9 lines
186 B
PHP

<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
Route::get('/user', function (Request $request) {
return $request->user();
})->middleware('auth:sanctum');