summary refs log tree commit diff
path: root/api/src/routes/users/@me/notes.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-30 17:01:32 +0200
committerGitHub <noreply@github.com>2021-09-30 17:01:32 +0200
commit677dfca95e943bfb2a9107ee47c1766849a825ed (patch)
treece8920af6398b4edbb7baaea76b8253d12e549dc /api/src/routes/users/@me/notes.ts
parentMerge pull request #402 from Thesourtimes/master (diff)
parentAdd misc routes (diff)
downloadserver-677dfca95e943bfb2a9107ee47c1766849a825ed.tar.xz
Merge pull request #403 from Thesourtimes/master
Diffstat (limited to 'api/src/routes/users/@me/notes.ts')
-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;