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