summary refs log tree commit diff
path: root/api/src/routes/users/@me
diff options
context:
space:
mode:
authorThe Arcane Brony <myrainbowdash949@gmail.com>2021-09-17 15:35:35 +0200
committerThe Arcane Brony <myrainbowdash949@gmail.com>2021-09-18 16:11:03 +0200
commita00c5030b3d9e72c2b696d4395516a2c3c03acd7 (patch)
tree9ee728f79ecffe48e798ab78164f71b1c0122529 /api/src/routes/users/@me
parent:bug: fix body parse treating null not as undefined (except for icons/avatars) (diff)
downloadserver-a00c5030b3d9e72c2b696d4395516a2c3c03acd7.tar.xz
Add /users/@me/connections
Diffstat (limited to 'api/src/routes/users/@me')
-rw-r--r--api/src/routes/users/@me/connections.ts10
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