mubaris / curiosity

Find Amazing Github :octocat: Projects :zap:
https://mubaris.github.io/curiosity/
247 stars 66 forks source link

Incorrect access token should not be allowed #64 #67

Closed mayakarabula closed 7 years ago

mayakarabula commented 7 years ago

Here is a fix for the problem from issue #64

I have also moved USERS definition up. Because it was done only after the access token was defined and adding extra call to github API caused an error - USERS were not defined since it was not passing the if statement. This occured only at the first time after giving the access token, after refresh it already had access token and thus USERS.

@mubaris