mirror of https://github.com/MaxLeiter/Drift
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
345 B
TypeScript
15 lines
345 B
TypeScript
import { Router } from "express";
|
|
// import jwt from "@lib/middleware/jwt";
|
|
// import { User } from "@lib/models/User";
|
|
|
|
export const users = Router();
|
|
|
|
// users.get("/", jwt, async (req, res, next) => {
|
|
// try {
|
|
// const allUsers = await User.findAll();
|
|
// res.json(allUsers);
|
|
// } catch (error) {
|
|
// next(error);
|
|
// }
|
|
// });
|