Skip to content

Commit

Permalink
fix(refresh scheme): pass refresh endpoint url to `initializeRequestI…
Browse files Browse the repository at this point in the history
…nterceptor`
  • Loading branch information
JoaoPedroAS51 committed Mar 9, 2020
1 parent ac78c31 commit 4e62b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/schemes/refresh.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default class RefreshScheme extends LocalScheme {
}

// Initialize request interceptor
this.refreshController.initializeRequestInterceptor()
this.refreshController.initializeRequestInterceptor(this.options.endpoints.refresh.url)

return this.$auth.fetchUserOnce().then(() => {
// Only refresh token if user is logged in and is client side
Expand Down

0 comments on commit 4e62b15

Please sign in to comment.