whitespace
This commit is contained in:
parent
8436b615cb
commit
fe635a965c
|
@ -8,10 +8,10 @@
|
||||||
|
|
||||||
module.exports.create = function (deps) {
|
module.exports.create = function (deps) {
|
||||||
|
|
||||||
var NOOP=function () {
|
var NOOP = function () {
|
||||||
};
|
};
|
||||||
var log=NOOP;
|
var log = NOOP;
|
||||||
var request=require('request');
|
var request = deps.request || require('request');
|
||||||
var RSA = deps.RSA;
|
var RSA = deps.RSA;
|
||||||
var generateSignature = RSA.signJws;
|
var generateSignature = RSA.signJws;
|
||||||
|
|
||||||
|
@ -74,9 +74,9 @@ module.exports.create = function (deps) {
|
||||||
//process.exit(1);
|
//process.exit(1);
|
||||||
//return;
|
//return;
|
||||||
return request.post({
|
return request.post({
|
||||||
url:url,
|
url: url
|
||||||
body:signed,
|
, body: signed
|
||||||
encoding:null
|
, encoding: null
|
||||||
}, function(err, res, body) {
|
}, function(err, res, body) {
|
||||||
var parsed;
|
var parsed;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue