Removed console logs

This commit is contained in:
2020-12-10 17:43:00 +01:00
parent bc80be947d
commit 7fe9480c94
4 changed files with 0 additions and 4 deletions

View File

@@ -18,7 +18,6 @@ const authchecker = async (action: Action, permissions: string | string[]) => {
try {
jwtPayload = <any>jwt.verify(provided_token, config.jwt_secret);
} catch (error) {
console.log(error);
throw new IllegalJWTError()
}
const count = await getConnectionManager().get().getRepository(User).count({ id: jwtPayload["userdetails"]["id"], refreshTokenCount: jwtPayload["userdetails"]["refreshTokenCount"] })