mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
refactor(connector): [Gocardless] Mask PII data (#3844)
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user