Skip to content

Commit c29c0e9

Browse files
committed
Fixed typo
1 parent be26c2a commit c29c0e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/request.web.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function (baseUrl, options) {
4646

4747
return function request ({method, url, headers, body}, cb) {
4848
if (typeof username === 'string' && !headers.authorization) {
49-
headers.authorizaton = 'Basic ' + window.btoa(username + ':' + (password || ''))
49+
headers.authorization = 'Basic ' + window.btoa(username + ':' + (password || ''))
5050
}
5151

5252
const urlParts = {

0 commit comments

Comments
 (0)