Permalink
Browse files

Proper configuration object.

  • Loading branch information...
1 parent de85307 commit a9bba030f2a88ba5a536aded0b27a4e30d5d6eaf @SaltwaterC committed Oct 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/internals.js
View
@@ -218,7 +218,7 @@ var makeRequest = function (config, options, body, handler, callback, requestId)
if (dependencies.xml === 'libxml-to-js') {
parser = xmlDep;
} else { // xml2js
- parser = new xmlDep.Parser(config.xml2jsConfig).parseString;
+ parser = new xmlDep.Parser(cfg.xml2jsConfig).parseString;
}
parser(new Buffer(data).toString(), function (error, result) {

0 comments on commit a9bba03

Please sign in to comment.