Andras Bacsai b097842d01 roles
2023-06-09 15:55:21 +02:00

28 lines
779 B
PHP

<?php
use App\Models\GithubApp;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider and all of them will
| be assigned to the "api" middleware group. Make something great!
|
*/
Route::get('/health', function () {
return 'OK';
});
Route::get('/invitation/{uuid}', function () {
ray('Invitation', request()->route('uuid'));
return 'OK';
});
// Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
// return $request->user();
// });