Skip to content

Commit c3d0291

Browse files
committed
Fix info api fetching
1 parent a678bc2 commit c3d0291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1655,7 +1655,7 @@ async def default(
16551655
"""Creates a new :class:`Headers` instance using the default fetching mechanisms."""
16561656
try:
16571657
properties, encoded = await asyncio.wait_for(
1658-
cls.get_api_properties(session, 'info', proxy=proxy, proxy_auth=proxy_auth), timeout=3
1658+
cls.get_api_properties(session, 'web', proxy=proxy, proxy_auth=proxy_auth), timeout=3
16591659
)
16601660
except Exception:
16611661
_log.info('Info API temporarily down. Falling back to manual retrieval...')

0 commit comments

Comments
 (0)