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-10-04 10:47:04 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-04 10:47:04 +0200
commitb69f5baeb997cecd12a0e42b94fe0616058866a2 (patch)
treea63c89ba5bb52249f2ab858c703bab0dc82b5e84 /api/src/routes/users/@me/notes.ts
parent:sparkles: custom user flags offset (diff)
parentMerge pull request #412 from TheArcaneBrony/master (diff)
downloadserver-b69f5baeb997cecd12a0e42b94fe0616058866a2.tar.xz
Merge branch 'master' of https://github.com/fosscord/fosscord-server
Diffstat (limited to '')
-rw-r--r--api/src/routes/users/@me/notes.ts (renamed from api/src/routes/store/applications.ts)8
1 files changed, 5 insertions, 3 deletions
diff --git a/api/src/routes/store/applications.ts b/api/src/routes/users/@me/notes.ts

index 352c1752..2ef27bc0 100644 --- a/api/src/routes/store/applications.ts +++ b/api/src/routes/users/@me/notes.ts
@@ -3,10 +3,12 @@ import { route } from "@fosscord/api"; const router: Router = Router(); -router.get("/applications/:id", route({}), async (req: Request, res: Response) => { +router.put("/:id", route({}), async (req: Request, res: Response) => { //TODO - const { id } = req.params; - res.json([]).status(200); + res.json({ + message: "400: Bad Request", + code: 0 + }).status(400); }); export default router;