feat(backend) criaçao de rota para retornar todos os usarios pelo profile
parent
1bb4f7562f
commit
f9594aa114
|
@ -5,6 +5,7 @@ import * as UserController from "../controllers/UserController";
|
|||
|
||||
const userRoutes = Router();
|
||||
|
||||
userRoutes.get("/users/all", isAuth, UserController.all);
|
||||
|
||||
userRoutes.get("/users", isAuth, UserController.index);
|
||||
|
||||
|
|
Loading…
Reference in New Issue