Rename variable

This commit is contained in:
WarmUpTill 2024-02-08 22:06:12 +01:00 committed by WarmUpTill
parent 8ba246a349
commit 768356e11e
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ void TwitchPointsRewardSelection::PopulateSelection()
{
auto token = _token.lock();
if (!token || !token->AnyOptionIsEnabled(SUPPORTED_TOKEN_OPTIONS)) {
if (!token || !token->AnyOptionIsEnabled(_supportedTokenOptions)) {
DisplayErrorMessage(obs_module_text(
"AdvSceneSwitcher.twitch.selection.points.reward.tooltip.noPermission"));
return;

View File

@ -41,7 +41,7 @@ private:
std::vector<TwitchPointsReward> ParseResponse(obs_data_t *response);
bool _allowAny;
const std::vector<TokenOption> SUPPORTED_TOKEN_OPTIONS = {
const std::vector<TokenOption> _supportedTokenOptions = {
{"channel:read:redemptions"},
{"channel:manage:redemptions"}};