From 5a0d073150a84b8a074a9a39cb5557248382c5a2 Mon Sep 17 00:00:00 2001 From: 650elx Date: Wed, 20 Mar 2024 14:13:35 +0100 Subject: [PATCH] fix(Voice): missing property transformation --- sinch/domains/voice/models/svaml/actions/actions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sinch/domains/voice/models/svaml/actions/actions.py b/sinch/domains/voice/models/svaml/actions/actions.py index eaccadb..8ab1a50 100644 --- a/sinch/domains/voice/models/svaml/actions/actions.py +++ b/sinch/domains/voice/models/svaml/actions/actions.py @@ -144,6 +144,9 @@ def as_dict(self): if payload.get("suppress_callbacks"): payload["suppressCallbacks"] = payload.pop("suppress_callbacks") + if payload.get("call_headers"): + payload["callHeaders"] = payload.pop("call_headers") + return payload