Skip to content
New issue

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

Figure out issue with Axios interceptors on admin APIs #39

Closed
agneym opened this issue May 16, 2021 · 0 comments · Fixed by #67
Closed

Figure out issue with Axios interceptors on admin APIs #39

agneym opened this issue May 16, 2021 · 0 comments · Fixed by #67
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@agneym
Copy link
Contributor

agneym commented May 16, 2021

Currently the token is being hardcoded into every API for admin side.

"X-Auth-Token": localStorage.getItem("admin-auth-token"),

Use the interceptor as defined in Auth.js and remove the hardcoded references to token

@agneym agneym added enhancement New feature or request help wanted Extra attention is needed labels May 16, 2021
@agneym agneym closed this as completed in #67 Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant