1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 04:32:35 +01:00
This commit is contained in:
Madeline 2022-10-28 16:06:02 +11:00
parent 8d93693a38
commit a75af3d9ff
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

View File

@ -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;