text: const express = require("express");
  const apiRoutes = express.Router();
  const users = require("./users/index");
  
  //users
  apiRoutes
    // file authRouter .post("/auth/register", users.register)
    // file authRouter .post("/auth/login", users.login)
    .get("/auth/current", users.сurrent) //true
    .get("/user/:id", users.getById)
    .put("/user/:id", users.edit);
  
  module.exports = apiRoutes;
  