fix: update connector_mandate_id column in generate mandate flow (#2472)

This commit is contained in:
Arjun Karthik
2023-10-06 13:00:48 +05:30
committed by GitHub
parent f364a069b9
commit 61288d541f
2 changed files with 8 additions and 2 deletions

View File

@ -207,6 +207,7 @@ where
};
let mandate_ids = mandate_reference
.as_ref()
.map(|md| {
Encode::<types::MandateReference>::encode_to_value(&md)
.change_context(
@ -226,6 +227,7 @@ where
mandate_ids,
network_txn_id,
get_insensitive_payment_method_data_if_exists(&resp),
mandate_reference,
)? {
let connector = new_mandate_data.connector.clone();
logger::debug!("{:?}", new_mandate_data);