chore: prettier
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user