diff options
author | uurgothat <cckhmck@gmail.com> | 2021-09-30 17:57:51 +0300 |
---|---|---|
committer | uurgothat <cckhmck@gmail.com> | 2021-09-30 17:57:51 +0300 |
commit | 9e07c72a72e60ca8c3c3e6270867accd32b56ece (patch) | |
tree | 730cedf62e5075fd3f3d165d3e1fcbb1a81b91db /api/src/routes/users/@me/notes.ts | |
parent | Merge pull request #402 from Thesourtimes/master (diff) | |
download | server-9e07c72a72e60ca8c3c3e6270867accd32b56ece.tar.xz |
Add misc routes
Diffstat (limited to '')
-rw-r--r-- | api/src/routes/users/@me/notes.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/api/src/routes/users/@me/notes.ts b/api/src/routes/users/@me/notes.ts new file mode 100644 index 00000000..235c2baf --- /dev/null +++ b/api/src/routes/users/@me/notes.ts @@ -0,0 +1,11 @@ +import { Request, Response, Router } from "express"; +import { route } from "@fosscord/api"; + +const router: Router = Router(); + +router.put("/", route({}), async (req: Request, res: Response) => { + //TODO + res.json({code: 0}).status(400); +}); + +export default router; |