mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-06 10:52:31 +01:00
Temporary notes fix
Temporary fix for getting stuck on loading user note. //TODO
This commit is contained in:
parent
4059a00044
commit
4adf6602de
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user