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

Actually send user-specified headers in HttpAxiosImpl #703

Merged
merged 1 commit into from
Nov 25, 2022

Conversation

SuperSonicHub1
Copy link
Contributor

Fixes #697.

@@ -20,7 +20,7 @@ export class HttpAxiosImpl extends BaseHttp implements Http {

this.axios = axios.create({
baseURL: config.url,
headers: this.createHeader(),
headers: this.createHeader(this.createHeader(config.headers)),
Copy link
Owner

@neet neet Nov 25, 2022

Choose a reason for hiding this comment

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

Why is this called twice? 👀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops, bad copy-paste job.

@neet neet merged commit 2663d87 into neet:main Nov 25, 2022
@github-actions
Copy link

🎉 This PR is included in version 4.6.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User-specified headers aren't being passed to Axios
2 participants