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 be26c2a commit c29c0e9Copy full SHA for c29c0e9
src/util/request.web.js
@@ -46,7 +46,7 @@ export default function (baseUrl, options) {
46
47
return function request ({method, url, headers, body}, cb) {
48
if (typeof username === 'string' && !headers.authorization) {
49
- headers.authorizaton = 'Basic ' + window.btoa(username + ':' + (password || ''))
+ headers.authorization = 'Basic ' + window.btoa(username + ':' + (password || ''))
50
}
51
52
const urlParts = {
0 commit comments