From 31c0a24c878db4265a3088f9d61c47b4846c558f Mon Sep 17 00:00:00 2001 From: Root-Core Date: Tue, 8 Oct 2019 19:13:30 +0200 Subject: [PATCH] Semicolon --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index cfa8f58..f5d7905 100644 --- a/lib/index.js +++ b/lib/index.js @@ -113,7 +113,7 @@ function authorize(options, onConnection) { options = xtend({ decodedPropertyName: 'decoded_token', encodedPropertyName: 'encoded_token' }, options); if (typeof options.secret !== 'string' && typeof options.secret !== 'function') { - throw new Error('Provided secret "' + options.secret + '" is invalid, must be of type string or function.') + throw new Error('Provided secret "' + options.secret + '" is invalid, must be of type string or function.'); } if (!options.handshake) {