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

Add a local backup of the Twitch Badges API #4463

Merged
merged 5 commits into from
Mar 19, 2023

Conversation

pajlada
Copy link
Member

@pajlada pajlada commented Mar 19, 2023

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

In case the Twitch Badges API fails, we now load a snapshot from our resources to ensure badges will continue to work.

@pajlada
Copy link
Member Author

pajlada commented Mar 19, 2023

image

@pajlada pajlada enabled auto-merge (squash) March 19, 2023 11:06
@pajlada pajlada merged commit 130b23e into master Mar 19, 2023
@pajlada pajlada deleted the feat/backup-twitch-badges-apoi branch March 19, 2023 11:28
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

this->loaded();
})
.execute();
}

void TwitchBadges::parseTwitchBadges(QJsonObject root)
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: parameter 'root' is unused [misc-unused-parameters]

Suggested change
void TwitchBadges::parseTwitchBadges(QJsonObject root)
void TwitchBadges::parseTwitchBadges(QJsonObject /*root*/)

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