From 7888e53b206f741454721d2225e2ce35d64c3822 Mon Sep 17 00:00:00 2001 From: "Evgeny (Krymmy) Momotov" Date: Thu, 13 Nov 2025 09:32:57 +0300 Subject: [PATCH] [UP] api_manager ~ def update_call --- src/CallerApiManager/api_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CallerApiManager/api_manager.py b/src/CallerApiManager/api_manager.py index 88da8e9..b0f1093 100644 --- a/src/CallerApiManager/api_manager.py +++ b/src/CallerApiManager/api_manager.py @@ -68,7 +68,7 @@ class CallerManagerClient: return Call(**response) async def update_call(self, call_id: int, call: CallIn) -> Call: - response = await self._request('PATCH', f'/calls/{call_id}', json=call.model_dump(exclude_none=True)) + response = await self._request('PATCH', f'/calls/{call_id}', json=call.model_dump(exclude_unset=True)) return Call(**response) async def get_call_dialog(self, call_id: int) -> CallDialog: