@everymundo/em-eureka
Advanced tools
Comparing version 1.10.4 to 1.10.5
@@ -11,5 +11,6 @@ 'use strict'; | ||
return praetorianClient.post('/tokens/m2m', {data}).then((response) => { | ||
console.log(response.body); | ||
const {accessToken} = JSON.parse(response.body); | ||
return accessToken.toString(); | ||
// console.log(response.body); | ||
const {accessToken} = response.body; | ||
// console.log(accessToken); | ||
return accessToken; | ||
}).catch((error) => { | ||
@@ -16,0 +17,0 @@ console.log(`${error.status}: ${error.message}`); |
{ | ||
"name": "@everymundo/em-eureka", | ||
"version": "1.10.4", | ||
"version": "1.10.5", | ||
"description": "wrapper around eureka-js-client for everymundo microservice apps", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
77369
1699