blob: 2ef27bc00f1b4aaa386ceccfa13366ff16826d85 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { Request, Response, Router } from "express";
import { route } from "@fosscord/api";
const router: Router = Router();
router.put("/:id", route({}), async (req: Request, res: Response) => {
//TODO
res.json({
message: "400: Bad Request",
code: 0
}).status(400);
});
export default router;
|