fix(payment_methods): mask the email address being logged in the payment_method_list response logs (#4749)

This commit is contained in:
Shankar Singh C
2024-05-23 20:37:00 +05:30
committed by GitHub
parent f04c6ac030
commit 23c73951bb
2 changed files with 3 additions and 2 deletions

View File

@ -531,7 +531,8 @@ pub struct RequiredFieldInfo {
#[schema(value_type = FieldType)]
pub field_type: api_enums::FieldType,
pub value: Option<String>,
#[schema(value_type = Option<String>)]
pub value: Option<masking::Secret<String>>,
}
#[derive(Debug, Clone, serde::Serialize, ToSchema)]