@clarityhub/harmony-jwt-auth
Advanced tools
Comparing version 0.0.12 to 0.0.15
{ | ||
"name": "@clarityhub/harmony-jwt-auth", | ||
"version": "0.0.12", | ||
"version": "0.0.15", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -9,5 +9,5 @@ const { Auth } = require('@clarityhub/harmony-server'); | ||
if (!authorization) { | ||
return Auth.NoAuth; | ||
return cb(Auth.NoAuth); | ||
} | ||
// TODO better parsing | ||
@@ -14,0 +14,0 @@ const token = authorization.split(' ')[1]; |
1401