diff --git a/server/src/routes/proxy.ts b/server/src/routes/proxy.ts index eb2b89a4..ff20d31e 100644 --- a/server/src/routes/proxy.ts +++ b/server/src/routes/proxy.ts @@ -17,7 +17,7 @@ router.post('/config', requireSignIn, async (req: AuthenticatedRequest, res: Res if (!req.user) { return res.status(401).json({ ok: false, error: 'Unauthorized' }); } - + const user = await User.findByPk(req.user.id, { attributes: { exclude: ['password'] }, });