Skip to content

Commit

Permalink
fix(refresh): call scheme method refreshToken instead of `_refreshT…
Browse files Browse the repository at this point in the history
…oken`
  • Loading branch information
JoaoPedroAS51 committed Mar 12, 2020
1 parent 841ed1c commit f04d30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/refresh.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class RefreshController {

_doRefresh () {
this.refreshPromise = new Promise(resolve => {
this.scheme._refreshToken().then(response => {
this.scheme.refreshToken().then(response => {
this.refreshPromise = null
resolve(response)
})
Expand Down

0 comments on commit f04d30b

Please sign in to comment.