mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-05 10:22:31 +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);
|
||||
|
||||
return { token };
|
||||
return res.json({ token })
|
||||
});
|
||||
|
||||
export default router;
|
Loading…
Reference in New Issue
Block a user