Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
Adding device token for updated api.
Browse files Browse the repository at this point in the history
  • Loading branch information
rokadias committed Aug 8, 2020
1 parent 9604e47 commit 8986d49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/robinhood.js
Expand Up @@ -65,6 +65,7 @@ function RobinhoodWebApi(opts, callback) {
tag: 'midlands/tags/tag/'
},
_clientId = 'c82SH0WZOsabOXGP2sxqcj34FxkvfnWRZBKlBjFS',
_deviceToken = 'ea9fa5c6-01e0-46c9-8430-5b422c99bd16',
_isInit = false,
_request = request.defaults(),
_private = {
Expand Down Expand Up @@ -131,6 +132,7 @@ function RobinhoodWebApi(opts, callback) {
grant_type: 'password',
scope: 'internal',
client_id: _clientId,
device_token: _deviceToken,
// expires_in: 86400,
password: _private.password,
username: _private.username
Expand Down

0 comments on commit 8986d49

Please sign in to comment.