fix: wip
This commit is contained in:
parent
391fd6d380
commit
2518ced0fa
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue