Skip to content

Commit

Permalink
Hash image custom reward for now
Browse files Browse the repository at this point in the history
Hash image custom reward for now to prevent CI errors
  • Loading branch information
chillymosh committed Apr 19, 2024
1 parent 5b73d0d commit b77f53d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions twitchio/models/channel_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ def __init__(self, data: CustomRewardsResponseData, *, http: HTTPClient) -> None
self.title: str = data["title"]
self.prompt: str = data["prompt"]
self.cost: int = int(data["cost"])
self.image: Asset | None = (
Asset(data["image"], http=http) if data["image"] else None
) # TODO This is an object of multiple image urls
# self.image: Asset | None = (
# Asset(data["image"], http=http) if data["image"] else None
# ) # TODO This is an object of multiple image urls
self.default_image = data["default_image"]
self.background_color = data["background_color"]
self.enabled: bool = data["is_enabled"]
Expand Down

0 comments on commit b77f53d

Please sign in to comment.