mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
refactor(core): make raw_connector_response as secret (#8565)
Co-authored-by: Aishwariyaa Anand <aishwariyaa.anand@Aishwariyaa-Anand-C3PGW02T6Y.local>
This commit is contained in:
committed by
GitHub
parent
30a4a340c3
commit
fb33937c21
@ -5186,7 +5186,8 @@ pub struct PaymentsResponse {
|
||||
pub is_iframe_redirection_enabled: Option<bool>,
|
||||
|
||||
/// Contains whole connector response
|
||||
pub whole_connector_response: Option<String>,
|
||||
#[schema(value_type = Option<String>)]
|
||||
pub whole_connector_response: Option<Secret<String>>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v2")]
|
||||
@ -5805,7 +5806,8 @@ pub struct PaymentsResponse {
|
||||
pub merchant_reference_id: Option<id_type::PaymentReferenceId>,
|
||||
|
||||
/// Stringified connector raw response body. Only returned if `return_raw_connector_response` is true
|
||||
pub raw_connector_response: Option<String>,
|
||||
#[schema(value_type = Option<String>)]
|
||||
pub raw_connector_response: Option<Secret<String>>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v2")]
|
||||
|
||||
Reference in New Issue
Block a user