deStrO / eBot-CSGO-Web

The eBot CS:GO panel
http://www.esport-tools.net/ebot
95 stars 71 forks source link

Decode OAuth response #106

Open eoswald opened 4 years ago

eoswald commented 4 years ago

Currently when you open the Toornament tab after the filetime of the token has expired, there will be no tournaments to select from. That's because when the token is grabbed from the API (instead of a file) the body of the response is not decoded from JSON so $this->token['access_token'] is trying to index a string.