From 81474a16b31459ed09fa1a42d9b9a51de27a83f8 Mon Sep 17 00:00:00 2001 From: cgonzalesmo Date: Sun, 6 Nov 2022 21:19:36 -0500 Subject: [PATCH] put edit user --- routes/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']);