Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
domdinicola committed Jun 11, 2024
1 parent a43a9f7 commit ec58504
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def send_money_validation(payload):
wu_env = config.WESTERN_UNION_WHITELISTED_ENV
client = WesternUnionClient("SendMoneyValidation_Service_H2HService.wsdl")
sentry_sdk.capture_message("Western Union: Send Money Validation")
print(payload["foreign_remote_number"].get("reference_no", None))
print(payload.get("foreign_remote_number", dict()).get("reference_no", None))
return client.response_context(
"sendmoneyValidation", payload, "SendmoneyValidation_Service_H2H", f"SOAP_HTTP_Port_{wu_env}"
)
Expand Down

0 comments on commit ec58504

Please sign in to comment.