Skip to content

Commit

Permalink
fix(headers): added missed Authorization accessor; (#5502)
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalBrainJS committed Jan 27, 2023
1 parent a105feb commit 342c0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/AxiosHeaders.js
Expand Up @@ -266,7 +266,7 @@ class AxiosHeaders {
}
}

AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent']);
AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);

utils.freezeMethods(AxiosHeaders.prototype);
utils.freezeMethods(AxiosHeaders);
Expand Down

0 comments on commit 342c0ba

Please sign in to comment.