Skip to content
Permalink
Browse files
fix: use getToken
  • Loading branch information
Pooya Parsa committed Feb 20, 2018
1 parent 1197966 commit bec85185014db4739960e1dd08c80c8841240eff
Showing 1 changed file with 1 addition and 1 deletion.
@@ -43,7 +43,7 @@ export default class LocalScheme {
}

// Token is required but not available
if (this.options.tokenRequired && !this.auth.token) {
if (this.options.tokenRequired && !this.auth.getToken()) {
return Promise.resolve()
}

1 comment on commit bec8518

@cssjockey
Copy link

@cssjockey cssjockey commented on bec8518 Nov 20, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is causing issues with laravel-echo "throws this.auth.getToken() is not a function"

Please sign in to comment.