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

Semicolon

This commit is contained in:
Root-Core 2019-10-08 19:13:30 +02:00 committed by GitHub
parent 3f980a5c71
commit 31c0a24c87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {