From f0aad5685dd8ba2a4cd1911e988f9e96be8ea5fc Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 2 Oct 2024 23:52:09 +0530 Subject: [PATCH] chore: lint --- server/src/routes/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] }, });