Skip to content

Commit 8574085

Browse files
committed
Corrected property access on possibly undefined variable.
1 parent a0bf25e commit 8574085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var Client = function(config) {
3232
this.secretKey = null;
3333
this.ssl = this.connectionParameters.ssl || false;
3434

35-
this._types = config.types || types;
35+
this._types = c.types || types;
3636
this._parserOverrides = {
3737
text: {},
3838
binary: {}

0 commit comments

Comments
 (0)