Skip to content

Commit

Permalink
DivanteLtd#6 added missing parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Klein committed Jun 18, 2019
1 parent 6e04754 commit 349a14a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rest_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports.RestClient = function (options) {
logger.info({
url: request_data.url,
method: request_data.method,
headers: buildHeader(request_token),
headers: buildHeader(request_data, request_token = ''),
json: true,
body: request_data.body,
});
Expand All @@ -45,7 +45,7 @@ module.exports.RestClient = function (options) {
request({
url: request_data.url,
method: request_data.method,
headers: buildHeader(request_token),
headers: buildHeader(request_data, request_token = ''),
json: true,
body: request_data.body,
}, function (error, response, body) {
Expand Down

0 comments on commit 349a14a

Please sign in to comment.