Skip to content
Snippets Groups Projects
Commit 80550722 authored by Renzo Beux's avatar Renzo Beux
Browse files

Merge remote-tracking branch 'origin/feature/Audit' into feature/Audit

parents 0b1dff35 daaa5679
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ import { Response, NextFunction } from 'express';
import { validate } from '../Services/UserAPI';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const authChecker = async (req: any, res: Response, next: NextFunction): void => {
const authChecker = async (req: any, res: Response, next: NextFunction) => {
try {
const token = req.headers.authorization;
const userId = await validate(token);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment