🐛 修复材料地图报错

This commit is contained in:
CMHopeSunshine 2022-10-01 23:19:39 +08:00
parent f2a8c38e2a
commit cfd830f07e

View File

@ -26,7 +26,7 @@ Spots = Dict[int, List[Spot]]
async def _request(
endpoint: str, client: AsyncClient = CLIENT
endpoint: str, client: AsyncClient = API_CLIENT
) -> Dict[str, Any]:
resp = await client.get(endpoint)
resp.raise_for_status()