LAR_Maintenance/routes/api.php

9 lines
186 B
PHP
Raw Permalink Normal View History

2024-07-30 16:13:21 +00:00
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
Route::get('/user', function (Request $request) {
return $request->user();
})->middleware('auth:sanctum');