diff --git a/routes/api.php b/routes/api.php index 30a5dcf..094aa36 100644 --- a/routes/api.php +++ b/routes/api.php @@ -43,7 +43,7 @@ //Rutas de Gestion de usarios Route::get('user-profile', [UserController::class, 'userProfile']); - Route::get('update', [UserController::class, 'updateRoleEstado']); + Route::put('update', [UserController::class, 'updateRoleEstado']); Route::post('register', [UserController::class, 'register']); Route::get('user', [UserController::class, 'listUser']); Route::get('enabled_users', [UserController::class, 'listUserHabilitados']);