2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-21 09:38:31 +02:00

Fixed problem with not being able to execute. ALL Tests are now running successfully.

This commit is contained in:
jeff.smith34r32@gmail.com 2019-07-24 18:46:06 -07:00
parent 7902478c82
commit 196706aef7

View File

@ -137,7 +137,7 @@ function authorize(options, onConnection) {
return function(socket, accept){
var token, error;
var handshake = data.handshake;
var handshake = socket.handshake;
var req = socket.request || socket;
var authorization_header = (req.headers || {}).authorization;