WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 9e898e8

Browse files
chore: run formatter
1 parent 471d49a commit 9e898e8

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

crates/hyperswitch_connectors/src/connectors/worldpayxml.rs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,10 @@ impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData
281281
None,
282282
Some(worldpayxml::worldpayxml_constants::WORLDPAYXML_DOC_TYPE),
283283
)?;
284-
println!("XML Request: {} >>> ", String::from_utf8_lossy(&connector_req));
284+
println!(
285+
"XML Request: {} >>> ",
286+
String::from_utf8_lossy(&connector_req)
287+
);
285288
Ok(RequestContent::RawBytes(connector_req))
286289
}
287290

@@ -776,7 +779,10 @@ impl ConnectorIntegration<CompleteAuthorize, CompleteAuthorizeData, PaymentsResp
776779

777780
let cookie = worldpayxml::get_cookie_from_metadata(req.request.connector_meta.clone())?;
778781

779-
let mut cookie = vec![(worldpayxml::worldpayxml_constants::COOKIE.to_string(), Mask::into_masked(cookie))];
782+
let mut cookie = vec![(
783+
worldpayxml::worldpayxml_constants::COOKIE.to_string(),
784+
Mask::into_masked(cookie),
785+
)];
780786

781787
header.append(&mut cookie);
782788
Ok(header)
@@ -808,7 +814,10 @@ impl ConnectorIntegration<CompleteAuthorize, CompleteAuthorizeData, PaymentsResp
808814
None,
809815
Some(worldpayxml::worldpayxml_constants::WORLDPAYXML_DOC_TYPE),
810816
)?;
811-
println!("XML Request complete auth : {} >>> ", String::from_utf8_lossy(&connector_req));
817+
println!(
818+
"XML Request complete auth : {} >>> ",
819+
String::from_utf8_lossy(&connector_req)
820+
);
812821
Ok(RequestContent::RawBytes(connector_req))
813822
}
814823

crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ impl TryFrom<&PaymentsCompleteAuthorizeRouterData> for PaymentService {
15181518
billing_address: None,
15191519
additional_threeds_data: None,
15201520
info_threed_secure,
1521-
session
1521+
session,
15221522
},
15231523
});
15241524

0 commit comments

Comments
 (0)