Skip to content

Normalize error string checking for resetUser #99

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

Merged
merged 2 commits into from
Mar 22, 2025

Conversation

c17r
Copy link
Contributor

@c17r c17r commented Mar 22, 2025

Why

Looks like at some point Twitch the error message to "Invalid OAuth token" so the generic error warning comes up and the only way around seems to be reset storage.

How

Lowercased string before checking for "reset user" terms.

c17r and others added 2 commits March 22, 2025 08:34
Looks like at some point Twitch the error message to "Invalid OAuth
token" so the generic error warning comes up and the only way around
seems to be reset storage.
Copy link
Owner

@HiDeoo HiDeoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn this code is getting old, and also fragile 😆 Looks like a reasoanble change on top of fixing the issue.

Thanks for the contribution 🙌

@HiDeoo HiDeoo merged commit a40e966 into HiDeoo:main Mar 22, 2025
1 check passed
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.

2 participants