Skip to content

Commit

Permalink
Fix info api fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfies committed Jan 29, 2025
1 parent a678bc2 commit c3d0291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ async def default(
"""Creates a new :class:`Headers` instance using the default fetching mechanisms."""
try:
properties, encoded = await asyncio.wait_for(
cls.get_api_properties(session, 'info', proxy=proxy, proxy_auth=proxy_auth), timeout=3
cls.get_api_properties(session, 'web', proxy=proxy, proxy_auth=proxy_auth), timeout=3
)
except Exception:
_log.info('Info API temporarily down. Falling back to manual retrieval...')
Expand Down

0 comments on commit c3d0291

Please sign in to comment.