Skip to content

Commit 527fdeb

Browse files
committed
New build
1 parent 899666b commit 527fdeb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/angular-oauth2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
return {
2323
request: function request(config) {
2424
config.headers = config.headers || {};
25-
if (!config.headers.hasOwnProperty("Authorization") && OAuthToken.getAuthorizationHeader()) {
25+
if ((!config.headers.hasOwnProperty("Authorization") || typeof config.headers.Authorization !== "undefined") && OAuthToken.getAuthorizationHeader()) {
2626
config.headers.Authorization = OAuthToken.getAuthorizationHeader();
2727
}
2828
return config;

dist/angular-oauth2.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)