We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the README.md you give examples for the JavaScript Version,
in there you call the setAuthTokens and clearAuthTokens, this throws an error unknown funtion, because you are not importing those functions.
So the Import in the JavaScript Version should be changed from:
import { applyAuthTokenInterceptor } from 'axios-jwt';
To:
import { applyAuthTokenInterceptor, setAuthTokens, clearAuthTokens } from 'axios-jwt';
The text was updated successfully, but these errors were encountered:
Okay, can you please open a PR?
Sorry, something went wrong.
Done
fix: missing imports in README (#73)
7ba2cea
No branches or pull requests
In the README.md you give examples for the JavaScript Version,
in there you call the setAuthTokens and clearAuthTokens, this throws an error unknown funtion, because you are not importing those functions.
So the Import in the JavaScript Version should be changed from:
To:
The text was updated successfully, but these errors were encountered: