Skip to content

Normalize error string checking for resetUser#99

Merged
HiDeoo merged 2 commits intoHiDeoo:mainfrom
c17r:fix-resetUserChecking
Mar 22, 2025
Merged

Normalize error string checking for resetUser#99
HiDeoo merged 2 commits intoHiDeoo:mainfrom
c17r:fix-resetUserChecking

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