Fix linting errors

This commit is contained in:
Dries Augustyns
2025-12-04 12:46:39 +01:00
parent 73a1cdfefa
commit 04634a447b
34 changed files with 517 additions and 534 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ import {CatchAsync} from '../utils/asyncHandler.js';
export class Auth {
@Post('login')
@CatchAsync
public async login(req: Request, res: Response, next: NextFunction) {
public async login(req: Request, res: Response, _next: NextFunction) {
const {email, password} = AuthenticationSchemas.login.parse(req.body);
const user = await UserService.email(email);
@@ -46,7 +46,7 @@ export class Auth {
@Post('signup')
@CatchAsync
public async signup(req: Request, res: Response, next: NextFunction) {
public async signup(req: Request, res: Response, _next: NextFunction) {
const {email, password} = AuthenticationSchemas.login.parse(req.body);
const user = await UserService.email(email);