From ed6b3431f15d8b97e97cadae56d198eca0dc961d Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 2 Oct 2024 23:47:45 +0530 Subject: [PATCH] chore: prettier --- server/src/routes/proxy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/routes/proxy.ts b/server/src/routes/proxy.ts index a5bf7996..dd57129b 100644 --- a/server/src/routes/proxy.ts +++ b/server/src/routes/proxy.ts @@ -1,5 +1,5 @@ import { Router, Request, Response } from 'express'; -import User from '../models/User'; +import User from '../models/User'; import { hashPassword, comparePassword } from '../utils/auth'; export const router = Router(); @@ -12,7 +12,7 @@ router.post('/config', async (req: Request, res: Response) => { return res.status(400).send('Proxy URL is required'); } - const userId = 1; + const userId = 1; const user = await User.findByPk(userId); if (!user) {