summary refs log tree commit diff
path: root/api/src/routes/users/@me/notes.ts
diff options
context:
space:
mode:
authoruurgothat <cckhmck@gmail.com>2021-09-30 17:57:51 +0300
committeruurgothat <cckhmck@gmail.com>2021-09-30 17:57:51 +0300
commit9e07c72a72e60ca8c3c3e6270867accd32b56ece (patch)
tree730cedf62e5075fd3f3d165d3e1fcbb1a81b91db /api/src/routes/users/@me/notes.ts
parentMerge pull request #402 from Thesourtimes/master (diff)
downloadserver-9e07c72a72e60ca8c3c3e6270867accd32b56ece.tar.xz
Add misc routes
Diffstat (limited to '')
-rw-r--r--api/src/routes/users/@me/notes.ts11
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;