summary refs log tree commit diff
path: root/api
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
commit55ae0d6ae9289aab06a68033bb5782adcba74485 (patch)
tree7f23d2689c7055aa055e78e0649beed5aa93580e /api
parent:bug: fix body parse treating null not as undefined (except for icons/avatars) (diff)
downloadserver-55ae0d6ae9289aab06a68033bb5782adcba74485.tar.xz
Add /users/@me/connections
Diffstat (limited to 'api')
-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