Skip to content

Commit

Permalink
fix(local-scheme-token): removed token type from axios setToken
Browse files Browse the repository at this point in the history
fixes #113
  • Loading branch information
breakingrobot committed Apr 3, 2018
1 parent 42882ef commit c64e7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/schemes/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default class LocalScheme {
_setToken (token) {
if (this.options.globalToken) {
// Set Authorization token for all axios requests
this.$auth.ctx.app.$axios.setToken(token, this.options.tokenType)
this.$auth.ctx.app.$axios.setToken(token)
}
}

Expand Down

0 comments on commit c64e7f1

Please sign in to comment.