Skip to content

Commit

Permalink
fixed basic auth
Browse files Browse the repository at this point in the history
  • Loading branch information
Phara0h committed Sep 12, 2019
1 parent bd57a21 commit b5d1187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ var parseHeader = function (body,header = [])
}
else if (header[i].key == 'Authorization' && header[i].value == 'Basic')
{
params += `authorization:{
params += `authorization: {basic: {
client: authorization_client,
secret: authorization_secret
},`
}},`
}
}

Expand Down

0 comments on commit b5d1187

Please sign in to comment.