Skip to content

Commit

Permalink
fix(Verification): redundant transformation removed
Browse files Browse the repository at this point in the history
  • Loading branch information
650elx committed Jan 26, 2024
1 parent 53691e1 commit cc6a49e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sinch/domains/verification/endpoints/start_verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cc6a49e

Please sign in to comment.