From 1e47810c9832fe40f7fd3233a5872984427f9829 Mon Sep 17 00:00:00 2001 From: Root-Core Date: Wed, 24 Jul 2019 15:55:12 +0200 Subject: [PATCH] Fixed merge error data was renamed to socket --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 0eb6f79..0ef276f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -173,7 +173,7 @@ function authorize(options, onConnection) { } // Store encoded JWT - data[options.encodedPropertyName] = token; + socket[options.encodedPropertyName] = token; var onJwtVerificationReady = function(err, decoded) {