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 | a00c5030b3d9e72c2b696d4395516a2c3c03acd7 (patch) | |
tree | 9ee728f79ecffe48e798ab78164f71b1c0122529 /api | |
parent | :bug: fix body parse treating null not as undefined (except for icons/avatars) (diff) | |
download | server-a00c5030b3d9e72c2b696d4395516a2c3c03acd7.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 |