From 857408540c726f6211e19b6ea2b3e338c8c9b081 Mon Sep 17 00:00:00 2001 From: "David H. Bronke" Date: Wed, 3 Dec 2014 10:53:55 -0600 Subject: [PATCH] Corrected property access on possibly undefined variable. --- lib/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client.js b/lib/client.js index 636275d8..44ab89cf 100644 --- a/lib/client.js +++ b/lib/client.js @@ -32,7 +32,7 @@ var Client = function(config) { this.secretKey = null; this.ssl = this.connectionParameters.ssl || false; - this._types = config.types || types; + this._types = c.types || types; this._parserOverrides = { text: {}, binary: {}