fix empty card issuer string in decider request

This commit is contained in:
Aditya Chaurasia
2025-10-24 14:29:26 +05:30
parent 4d9e986bf3
commit 874e79a4fd
2 changed files with 9 additions and 2 deletions

View File

@ -811,7 +811,13 @@ impl RedisTokenManager {
Some(t)
}
}
None => None,
None => {
logger::warn!(
connector_customer_id = connector_customer_id,
"No token found for the customer",
);
None
}
};
Ok(token)

View File

@ -314,7 +314,8 @@ pub(crate) async fn get_schedule_time_for_smart_retry(
let card_network_str = card_network.map(|network| network.to_string());
let card_issuer_str = card_info.card_issuer.clone();
let card_issuer_str = card_info.card_issuer.clone()
.filter(|card_issuer| !card_issuer.is_empty());
let card_funding_str = match card_info.card_type.as_deref() {
Some("card") => None,