1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 19:02:33 +01:00

Temporary notes fix

Temporary fix for getting stuck on loading user note.
//TODO
This commit is contained in:
RealMANI 2022-03-08 01:27:32 +03:30 committed by Erkin Alp Güney
parent 4059a00044
commit 4adf6602de

View File

@ -6,9 +6,9 @@ const router: Router = Router();
router.put("/:id", route({}), async (req: Request, res: Response) => { router.put("/:id", route({}), async (req: Request, res: Response) => {
//TODO //TODO
res.json({ res.json({
message: "400: Bad Request", message: "Unknown User",
code: 0 code: 10013
}).status(400); }).status(404);
}); });
export default router; export default router;