This commit is contained in:
nurmuhammet committed 2024-09-09 23:04:59 +05:00
1 parent bd992d87fb
commit a7a7eaa08d
7 files changed
+80 -21

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@
Route::middleware('auth:sanctum')
->post('auth/delete-user', [ApiAuthController::class, 'delete']);
Route::middleware(['auth:sanctum', 'banned'])->group(function () {
Route::middleware(['auth:sanctum', 'not_banned'])->group(function () {
// Profile...
Route::get('profile', [ProfileController::class, 'index']);
Route::post('profile', [ProfileController::class, 'store']);