Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work with no token provided. (Limits data availability.) #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DonnKey
Copy link

@DonnKey DonnKey commented Mar 15, 2021

If no token is provided (and one is often present by default!), the Javascript crashes because it is trying to parse the stringified value of config when it is set to undefined, yielding a JSON error on the letter 'u' (the first character in "undefined"). Set the default value to something harmless. (Only 60 requests per hour is allowed in that case, which is shown properly.)

@DonnKey DonnKey mentioned this pull request Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant