diff options
author | AlTech98 <altech123159@gmail.com> | 2021-09-18 18:37:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-18 18:37:06 +0200 |
commit | 44e728269993ca8a53a4a9b2ea9ce34e5309fd5c (patch) | |
tree | a998946ffc8b2a75d711fc2243e506202d842b1d | |
parent | Removed ChannelService, more fixes (diff) | |
parent | Merge pull request #374 from TheArcaneBrony/dummy-connections-endpoint (diff) | |
download | server-44e728269993ca8a53a4a9b2ea9ce34e5309fd5c.tar.xz |
Merge branch 'fosscord:master' into fix-dm
-rw-r--r-- | api/src/routes/users/@me/connections.ts | 11 |
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; |