summary refs log tree commit diff
path: root/src/api/routes/template.ts.disabled
blob: bdf53fc500b4ef29090b247caeddcca0a222d7b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
//TODO: this is a template for a generic route

import { Router, Request, Response } from "express";
import { route } from "@spacebar/api/util/handlers/route";

const router = Router({ mergeParams: true });

router.get("/",route({}), async (req: Request, res: Response) => {
	res.json({});
});

export default router;