heroku-client
Advanced tools
Comparing version 2.2.0 to 2.2.1
'use strict'; | ||
var Request = require('./request'); | ||
var extend = require('util')._extend; | ||
@@ -26,11 +27,6 @@ module.exports = Heroku; | ||
// merge headers | ||
if (options.headers && this.options.headers) { | ||
for (key in this.options.headers) { | ||
if (this.options.headers.hasOwnProperty(key)) { | ||
if (!options.headers.hasOwnProperty(key)) { | ||
options[key] = this.options.headers[key]; | ||
} | ||
} | ||
} | ||
} | ||
console.dir(options.headers); | ||
console.dir(this.options.headers); | ||
options.headers = extend(extend({}, this.options.headers), options.headers); | ||
console.dir(options.headers); | ||
for (key in this.options) { | ||
@@ -37,0 +33,0 @@ if (this.options.hasOwnProperty(key)) { |
{ | ||
"name": "heroku-client", | ||
"description": "A wrapper for the Heroku v3 API", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"author": "Jonathan Clem", | ||
@@ -6,0 +6,0 @@ "bugs": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
312516
9863