This commit is contained in:
parent
77c5e5757e
commit
c103f54035
@ -112,7 +112,7 @@ class ProxyElem:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
async with self.local() as session:
|
async with self.local() as session:
|
||||||
resp = await session.post(proxy_server, json=request_data)
|
resp = await session.post(proxy_server, json=request_data.dict())
|
||||||
response_data = cast(
|
response_data = cast(
|
||||||
ProxyResponse, ProxyResponse.parse_obj(await resp.text())
|
ProxyResponse, ProxyResponse.parse_obj(await resp.text())
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user