Add a get users method.

This commit is contained in:
Dave Smith-Hayes 2024-04-02 08:48:21 -04:00
parent 20c6682353
commit bfe8ba71ae

View File

@ -1,2 +1,11 @@
import type { Request, Response, RequestHandler } from "express";
const getUsers: RequestHandler = function (req: Request, res: Response) {
console.log(req.method);
res.json({ users: [] });
}
export {
getUsers
}