Skip to content

Commit

Permalink
resolve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshayaFoiger committed Jan 23, 2024
1 parent e96c62a commit 535311f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/router/src/connector/bluesnap/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ use crate::{
utils::{Encode, OptionExt},
};

const IS_METADATA_VISIBLE: &str = "Y";

#[derive(Debug, Serialize)]
pub struct BluesnapRouterData<T> {
pub amount: String,
Expand Down Expand Up @@ -1171,7 +1173,7 @@ impl ForeignFrom<Value> for Vec<RequestMetadata> {
vector.push(RequestMetadata {
meta_key: key,
meta_value: value.map(|field_value| field_value.to_string()),
is_visible: Some("Y".to_string()),
is_visible: Some(IS_METADATA_VISIBLE.to_string()),
});
}
vector
Expand Down

0 comments on commit 535311f

Please sign in to comment.