12345678 |
- import express from 'express';
- import { getAllUsers, getUsersFromQuery } from "../controllers/users.controller.js";
- const router = express.Router();
- router.get('/fromQuery/:query', getUsersFromQuery);
- router.get('/all', getAllUsers);
- export default router;
|