@nuxtjs/axios
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="2.2.1"></a> | ||
## [2.2.1](https://github.com/nuxt/modules/compare/@nuxtjs/axios@2.2.0...@nuxtjs/axios@2.2.1) (2017-07-15) | ||
### Bug Fixes | ||
* **axios:** problems related to #65 ([4e7dd3f](https://github.com/nuxt/modules/commit/4e7dd3f)) | ||
<a name="2.0.3"></a> | ||
@@ -8,0 +19,0 @@ ## [2.0.3](https://github.com/nuxt/modules/compare/@nuxtjs/axios@2.0.2...@nuxtjs/axios@2.0.3) (2017-06-10) |
{ | ||
"name": "@nuxtjs/axios", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -66,6 +66,7 @@ import Axios from 'axios' | ||
} | ||
// Set requests token | ||
function setToken (token, type, scopes = 'common') { | ||
value = !token ? null : (type ? type + ' ' : '') + token | ||
setHeader('Authorization', value, scopes) | ||
const value = !token ? null : (type ? type + ' ' : '') + token | ||
this.setHeader('Authorization', value, scopes) | ||
} | ||
@@ -72,0 +73,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
18466