mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 04:32:35 +01:00
lol
This commit is contained in:
parent
8d93693a38
commit
a75af3d9ff
@ -32,7 +32,7 @@ router.get("/:type", route({}), async (req: Request, res: Response) => {
|
|||||||
|
|
||||||
const token = await generateToken(user.id);
|
const token = await generateToken(user.id);
|
||||||
|
|
||||||
return { token };
|
return res.json({ token })
|
||||||
});
|
});
|
||||||
|
|
||||||
export default router;
|
export default router;
|
Loading…
Reference in New Issue
Block a user