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

Fixed merge error

data was renamed to socket
This commit is contained in:
Root-Core 2019-07-24 15:55:12 +02:00 committed by GitHub
parent 4b4c336bb5
commit 1e47810c98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,7 +173,7 @@ function authorize(options, onConnection) {
} }
// Store encoded JWT // Store encoded JWT
data[options.encodedPropertyName] = token; socket[options.encodedPropertyName] = token;
var onJwtVerificationReady = function(err, decoded) { var onJwtVerificationReady = function(err, decoded) {