@kasko/fe-toolbelt
Advanced tools
Comparing version 2.0.1-beta.11 to 2.0.1-beta.12
{ | ||
"license": "UNLICENSED", | ||
"name": "@kasko/fe-toolbelt", | ||
"version": "2.0.1-beta.11", | ||
"version": "2.0.1-beta.12", | ||
"engines": { | ||
@@ -6,0 +6,0 @@ "node": ">=8.11.x" |
@@ -14,3 +14,7 @@ const axios = require('../../axios'); | ||
try { | ||
data = await axios.get(url).catch((e) => { | ||
data = await axios.get(url, { | ||
headers: { | ||
Accept: 'text/html', | ||
}, | ||
}).catch((e) => { | ||
// throw error; | ||
@@ -17,0 +21,0 @@ throw new Error(`ERROR 2: ${JSON.stringify(e)}`); |
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
72411
1816