1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 20:52:42 +01:00

Update connections.ts

This commit is contained in:
Flam3rboy 2021-09-18 16:24:42 +02:00 committed by GitHub
parent 55ae0d6ae9
commit e628c92a44

View File

@ -1,10 +1,11 @@
import { Request, Response, Router } from "express";
import { route } from "@fosscord/api";
const router: Router = Router();
router.get("/", async (req: Request, res: Response) => {
router.get("/", route({}), async (req: Request, res: Response) => {
//TODO
res.json([]).status(200);
});
export default router;
export default router;