summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2021-10-01 13:39:46 +0800
committerGitHub <[email protected]>2021-10-01 13:39:46 +0800
commitc2e754b5456c454ed6bb08a9a525a40ef16e6ec4 (patch)
tree60f88d42210af96dcb1c91afc21813554ef1531e
parent844bd56a5bed1293329299c8b0562558a0d2d907 (diff)
downloadATRI-c2e754b5456c454ed6bb08a9a525a40ef16e6ec4.tar.gz
ATRI-c2e754b5456c454ed6bb08a9a525a40ef16e6ec4.tar.bz2
ATRI-c2e754b5456c454ed6bb08a9a525a40ef16e6ec4.zip
🚑️ 紧急删除
-rw-r--r--ATRI/utils/request.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ATRI/utils/request.py b/ATRI/utils/request.py
index c208bbf..8dec9c7 100644
--- a/ATRI/utils/request.py
+++ b/ATRI/utils/request.py
@@ -2,10 +2,10 @@ import httpx
async def get(url: str, **kwargs):
- async with httpx.AsyncClient(proxies=proxy) as client:
+ async with httpx.AsyncClient() as client:
return await client.get(url, **kwargs)
async def post(url: str, **kwargs):
- async with httpx.AsyncClient(proxies=proxy) as client:
+ async with httpx.AsyncClient() as client:
return await client.post(url, **kwargs)