Semicolon
This commit is contained in:
parent
3f980a5c71
commit
31c0a24c87
@ -113,7 +113,7 @@ function authorize(options, onConnection) {
|
|||||||
options = xtend({ decodedPropertyName: 'decoded_token', encodedPropertyName: 'encoded_token' }, options);
|
options = xtend({ decodedPropertyName: 'decoded_token', encodedPropertyName: 'encoded_token' }, options);
|
||||||
|
|
||||||
if (typeof options.secret !== 'string' && typeof options.secret !== 'function') {
|
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) {
|
if (!options.handshake) {
|
||||||
|
Reference in New Issue
Block a user