import { Router } from "express"; import asyncHandler from "express-async-handler"; import * as auth from "../handlers/auth"; import * as user from "../handlers/users"; const router = Router(); router.get( "/", asyncHandler(auth.jwt), asyncHandler(auth.apikey), asyncHandler(user.get) ); export default router;