Skip to content

Commit

Permalink
Merge branch 'main' into cybersource-apple-pay
Browse files Browse the repository at this point in the history
  • Loading branch information
deepanshu-iiitu committed Dec 17, 2023
2 parents e4987f5 + 62c0c47 commit 7758238
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions crates/router/src/services/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,15 +279,6 @@ where
// If needed add an error stack as follows
// connector_integration.build_request(req).attach_printable("Failed to build request");
logger::debug!(connector_request=?connector_request);
let masked_conn_req = connector_request.as_ref().map(|req| match &req.body {
Some(RequestContent::Json(payload))
| Some(RequestContent::FormUrlEncoded(payload))
| Some(RequestContent::Xml(payload)) => payload.masked_serialize().unwrap_or_default(),
Some(RequestContent::FormData(_)) => json!({"request_type": "FORM_DATA"}),
None => serde_json::Value::Null,
});
logger::debug!(connector_request_body=?masked_conn_req);
logger::debug!(payment_id=?req.payment_id);
let mut router_data = req.clone();
match call_connector_action {
payments::CallConnectorAction::HandleResponse(res) => {
Expand Down

0 comments on commit 7758238

Please sign in to comment.