fix apis
This commit is contained in:
1 parent
bd992d87fb
commit
a7a7eaa08d
7 files changed
+80
-21
No files matched your search
+1
-1
@@ -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']);
|
||||
|
||||
Reference in new issue
Block a user