turn off eslint rules causing issues
This commit is contained in:
@@ -108,7 +108,6 @@ export async function Authentication(
|
||||
req.rights = new Rights(Number(user.rights));
|
||||
return next();
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
return next(new HTTPError(error!.toString(), 400));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user