Skip to content

Commit

Permalink
fix: Make get_web_events method OS region specific
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Jan 1, 2025
1 parent b505de7 commit b8c4c00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions genshin/client/components/hoyolab.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ async def leave_topic(self, topic_id: int) -> None:
"""Leave a topic."""
await self._request_join(topic_id, is_cancel=True)

@base.region_specific(types.Region.OVERSEAS)
async def get_web_events(
self,
game: typing.Optional[types.Game] = None,
Expand Down

0 comments on commit b8c4c00

Please sign in to comment.