Couldn't login! Inavalid credentials?
eciancio opened this issue · comments
Evan Ciancio commented
I know my credentials are correct. Am I doing something wrong or does this no longer work correctly?
Ashish Datta commented
Ya something definitely broke in the auth layer. Trying to sort out what.
Ashish Datta commented
@eciancio fixed this!
ashish@ashish:~/workspace/ts-fd-api$ ts-node examples/findNextSlate.ts
Soonest slate is:
{ id: '22705',
label: 'All Day',
sport: 'NBA',
late_swap: false,
_url: 'https://api.fanduel.com/fixture-lists/22705',
salary_cap: 60000,
players: { _url: 'https://api.fanduel.com/fixture-lists/22705/players' },
contests:
{ contest_types: [ [Object], [Object], [Object], [Object], [Object] ],
_url: 'https://api.fanduel.com/contests?fixture_list=22705&status=open',
pinned_count: 13,
count: 198 },
game_description: { _ref: 'game_descriptions.id', _members: [ '25' ] },
start_date: '2017-12-31T20:30:00Z',
game_description_name: 'NBA',
status: { final: false, started: false } }