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: