use dict for post
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Roy Olav Purser 2022-02-12 14:17:10 +01:00
parent 77c5e5757e
commit c103f54035
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

@ -112,7 +112,7 @@ class ProxyElem:
try:
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(
ProxyResponse, ProxyResponse.parse_obj(await resp.text())
)