Merge pull request #157 from ProductOfAmerica/master

Fixed problem with not being able to execute. ALL tests are now running.
This commit is contained in:
Conrad Sopala 2019-07-25 09:31:38 +02:00 committed by GitHub
commit 4482bdd1c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;