diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-18 16:24:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-18 16:24:42 +0200 |
commit | d36970e1e7b1690edb5fd9a9b82f474621108f64 (patch) | |
tree | 3ebc77221a079e0965bad73b85adf5c8707b53bb /api/src/routes | |
parent | Add /users/@me/connections (diff) | |
download | server-d36970e1e7b1690edb5fd9a9b82f474621108f64.tar.xz |
Update connections.ts
Diffstat (limited to 'api/src/routes')
-rw-r--r-- | api/src/routes/users/@me/connections.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/api/src/routes/users/@me/connections.ts b/api/src/routes/users/@me/connections.ts index e4fbe1e4..411e95bf 100644 --- a/api/src/routes/users/@me/connections.ts +++ b/api/src/routes/users/@me/connections.ts @@ -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; \ No newline at end of file +export default router; |