refactor(connector): [Gocardless] Mask PII data (#3844)

This commit is contained in:
AkshayaFoiger
2024-02-28 17:52:08 +05:30
committed by GitHub
parent de6b16bed9
commit 2f3ec7f951

View File

@ -547,7 +547,7 @@ pub struct GocardlessMandateResponse {
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct MandateResponse {
id: String,
id: Secret<String>,
}
impl<F>
@ -570,7 +570,7 @@ impl<F>
>,
) -> Result<Self, Self::Error> {
let mandate_reference = Some(MandateReference {
connector_mandate_id: Some(item.response.mandates.id.clone()),
connector_mandate_id: Some(item.response.mandates.id.clone().expose()),
payment_method_id: None,
});
Ok(Self {