Closed dewiniaid closed 1 year ago
Attempting to create a custom channel reward with create_custom_reward fails because the endpoint URL is wrong.
create_custom_reward
The code in particular reads:
return await self._build_result('POST', 'channel_points/custom/rewards', param, AuthType.USER, [AuthScope.CHANNEL_MANAGE_REDEMPTIONS], CustomReward, body_data=body, error_handler=error_handler)
but should probably read:
return await self._build_result('POST', 'channel_points/custom_rewards', param, AuthType.USER, [AuthScope.CHANNEL_MANAGE_REDEMPTIONS], CustomReward, body_data=body, error_handler=error_handler)
(note the underscore rather than the slash in custom_rewards)
custom_rewards
Attempting to create a custom channel reward with
create_custom_reward
fails because the endpoint URL is wrong.The code in particular reads:
but should probably read:
(note the underscore rather than the slash in
custom_rewards
)