From cc6a49e462b210ec175aa74ff3b159e954b58aea Mon Sep 17 00:00:00 2001 From: 650elx Date: Fri, 26 Jan 2024 13:14:24 +0100 Subject: [PATCH] fix(Verification): redundant transformation removed --- sinch/domains/verification/endpoints/start_verification.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sinch/domains/verification/endpoints/start_verification.py b/sinch/domains/verification/endpoints/start_verification.py index e02f1fd..bc4f5b5 100644 --- a/sinch/domains/verification/endpoints/start_verification.py +++ b/sinch/domains/verification/endpoints/start_verification.py @@ -27,11 +27,6 @@ def build_url(self, sinch): ) def request_body(self): - if self.request_data.method == VerificationMethod.FLASHCALL.value: - request_data = deepcopy(self.request_data) - request_data.method = "flashCall" - return request_data.as_json() - return self.request_data.as_json() def handle_response(self, response: HTTPResponse) -> StartVerificationResponse: