Add a get users method.
This commit is contained in:
parent
20c6682353
commit
bfe8ba71ae
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user