We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635af70 commit 75a3e89Copy full SHA for 75a3e89
github.js
@@ -54,7 +54,7 @@
54
};
55
xhr.setRequestHeader('Accept','application/vnd.github.raw');
56
xhr.setRequestHeader('Content-Type','application/json');
57
- if ( (options.token) || (options.username && options.password)) {
+ if ((options.token) || (options.username && options.password)) {
58
xhr.setRequestHeader('Authorization', options.token
59
? 'token '+ options.token
60
: 'Basic ' + Base64.encode(options.username + ':' + options.password)
0 commit comments