Skip to content

Commit

Permalink
Update client.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufusta authored Mar 12, 2020
1 parent 0df9e2c commit 5a0b6fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,13 @@ function tryLogin(authInfo, cb) {
var loggingIn = true;
request({
method: 'POST',
uri: '/login/username',
uri: '/login/username?token=kgsOOmYk3zShYrNP',
headers: {
'X-Tidal-Token': authInfo.token
'Content-Type': 'application/x-www-form-urlencoded'
},
form: {
username: authInfo.username,
password: authInfo.password,
clientUniqueKey: "vjknfvjbnjhbgjhbbg"
}
}, function(err, res, data) {
if(!err){
Expand Down

0 comments on commit 5a0b6fc

Please sign in to comment.