chore: prettier

This commit is contained in:
karishmas6
2024-10-02 23:47:45 +05:30
parent ea3a7011e5
commit ed6b3431f1

View File

@@ -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) {