diff options
author | RealMANI <96433859+ImAaronFR@users.noreply.github.com> | 2022-03-08 01:27:32 +0330 |
---|---|---|
committer | Erkin Alp Güney <erkinalp9035@gmail.com> | 2022-03-08 18:12:34 +0300 |
commit | 4a1e25dda6b1a39d67a3337041a60f6dd4bd781c (patch) | |
tree | 1c08e48172af149874b362879dbdf02d92adc7cc | |
parent | Changing Member.premium_since back from Date to number fixes an error in the ... (diff) | |
download | server-4a1e25dda6b1a39d67a3337041a60f6dd4bd781c.tar.xz |
Temporary notes fix
Temporary fix for getting stuck on loading user note. //TODO
-rw-r--r-- | api/src/routes/users/@me/notes.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/src/routes/users/@me/notes.ts b/api/src/routes/users/@me/notes.ts index 2ef27bc0..96067bf5 100644 --- a/api/src/routes/users/@me/notes.ts +++ b/api/src/routes/users/@me/notes.ts @@ -6,9 +6,9 @@ const router: Router = Router(); router.put("/:id", route({}), async (req: Request, res: Response) => { //TODO res.json({ - message: "400: Bad Request", - code: 0 - }).status(400); + message: "Unknown User", + code: 10013 + }).status(404); }); export default router; |