[UP] v 0.1.4-4
This commit is contained in:
parent
b1a3771d5a
commit
e312c749bc
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "yandexapimanager"
|
||||
version = "0.1.4-3"
|
||||
version = "0.1.4-4"
|
||||
description = ""
|
||||
authors = [
|
||||
{name = "Evgeny (Krymmy) Momotov",email = "evgeny.momotov@gmail.com"}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ class YandexManagerClient:
|
|||
return access_response
|
||||
|
||||
async def create_call(self, data: CallIn) -> Call | None:
|
||||
response = await self._request('POST', '/calls/', data=data.model_dump())
|
||||
response = await self._request('POST', '/calls/', json=data.model_dump())
|
||||
if not response:
|
||||
return None
|
||||
return Call(**response)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue