sparc-commons
Advanced tools
Comparing version 0.2.26 to 0.2.27
@@ -58,3 +58,2 @@ /*jshint multistr: true */ | ||
var logStrategy = _.get(resource, 'logging', 'NEVER') | ||
console.log(logStrategy) | ||
var url = resource.url + '/' + resource[service]; | ||
@@ -111,3 +110,3 @@ var data = _.get(opts, 'data', {}); | ||
if(logStrategy === 'ALWAYS'){ | ||
log.info(`Got response ${_.get(resp, 'body')}`) | ||
log.info(`Got response ${JSON.stringify(_.get(resp, 'body'), null, 2)}`) | ||
} | ||
@@ -114,0 +113,0 @@ res(resp.body); |
{ | ||
"name": "sparc-commons", | ||
"version": "0.2.26", | ||
"version": "0.2.27", | ||
"description": "Library with all small time common stuff used across the SPARC echosystem", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
50958
1247