summary refs log tree commit diff
path: root/api
diff options
context:
space:
mode:
authorAlTech98 <altech123159@gmail.com>2021-09-18 18:37:06 +0200
committerGitHub <noreply@github.com>2021-09-18 18:37:06 +0200
commit44e728269993ca8a53a4a9b2ea9ce34e5309fd5c (patch)
treea998946ffc8b2a75d711fc2243e506202d842b1d /api
parentRemoved ChannelService, more fixes (diff)
parentMerge pull request #374 from TheArcaneBrony/dummy-connections-endpoint (diff)
downloadserver-44e728269993ca8a53a4a9b2ea9ce34e5309fd5c.tar.xz
Merge branch 'fosscord:master' into fix-dm
Diffstat (limited to 'api')
-rw-r--r--api/src/routes/users/@me/connections.ts11
1 files changed, 11 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..411e95bf
--- /dev/null
+++ b/api/src/routes/users/@me/connections.ts
@@ -0,0 +1,11 @@
+import { Request, Response, Router } from "express";
+import { route } from "@fosscord/api";
+
+const router: Router = Router();
+
+router.get("/", route({}), async (req: Request, res: Response) => {
+	//TODO
+	res.json([]).status(200);
+});
+
+export default router;