diff options
author | The Arcane Brony <myrainbowdash949@gmail.com> | 2021-09-17 15:35:35 +0200 |
---|---|---|
committer | The Arcane Brony <myrainbowdash949@gmail.com> | 2021-09-18 16:11:03 +0200 |
commit | 55ae0d6ae9289aab06a68033bb5782adcba74485 (patch) | |
tree | 7f23d2689c7055aa055e78e0649beed5aa93580e /api | |
parent | :bug: fix body parse treating null not as undefined (except for icons/avatars) (diff) | |
download | server-55ae0d6ae9289aab06a68033bb5782adcba74485.tar.xz |
Add /users/@me/connections
Diffstat (limited to 'api')
-rw-r--r-- | api/src/routes/users/@me/connections.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/api/src/routes/users/@me/connections.ts b/api/src/routes/users/@me/connections.ts new file mode 100644 index 00000000..e4fbe1e4 --- /dev/null +++ b/api/src/routes/users/@me/connections.ts @@ -0,0 +1,10 @@ +import { Request, Response, Router } from "express"; + +const router: Router = Router(); + +router.get("/", async (req: Request, res: Response) => { + //TODO + res.json([]).status(200); +}); + +export default router; \ No newline at end of file |