diff --git a/services/api/src/api/v1/services/auth-token-handler.js b/services/api/src/api/v1/services/auth-token-handler.js index e988fa5..7a9343f 100644 --- a/services/api/src/api/v1/services/auth-token-handler.js +++ b/services/api/src/api/v1/services/auth-token-handler.js @@ -10,7 +10,7 @@ module.exports = ({ services: { sortRolesByLevel, signJwt } }) => { const { claimsNamespace, jwtExpirationInHours } = config - async function validateAuthToken(authTokenJwt) { + function validateAuthToken(authTokenJwt) { try { const { authToken } = jwtDecode(authTokenJwt) return authToken