nordnet-next-api
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -162,6 +162,6 @@ 'use strict'; | ||
return getNTag().then(request).catch(function () { | ||
return response; | ||
return validateStatus(response); | ||
}); | ||
} | ||
return response; | ||
return validateStatus(response); | ||
}); | ||
@@ -168,0 +168,0 @@ } |
{ | ||
"name": "nordnet-next-api", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Nordnet nExt API Javascript client", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -125,5 +125,7 @@ import es6Promise from 'es6-promise'; | ||
if (response.status === HTTP_FORBIDDEN) { | ||
return getNTag().then(request).catch(() => response); | ||
return getNTag() | ||
.then(request) | ||
.catch(() => validateStatus(response)); | ||
} | ||
return response; | ||
return validateStatus(response); | ||
}); | ||
@@ -130,0 +132,0 @@ } |
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
50699
1294