mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
chore: run formatter
This commit is contained in:
@ -810,7 +810,7 @@ where
|
|||||||
.into_iter()
|
.into_iter()
|
||||||
.flatten()
|
.flatten()
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
let infra = extract_mapped_fields(
|
let infra = extract_mapped_fields(
|
||||||
&values,
|
&values,
|
||||||
state.enhancement.as_ref(),
|
state.enhancement.as_ref(),
|
||||||
@ -2363,7 +2363,7 @@ pub fn extract_mapped_fields(
|
|||||||
|
|
||||||
for (dot_path, output_key) in mapping {
|
for (dot_path, output_key) in mapping {
|
||||||
let mut extracted_value = None;
|
let mut extracted_value = None;
|
||||||
|
|
||||||
// Try to extract from values in order of priority
|
// Try to extract from values in order of priority
|
||||||
for value in values {
|
for value in values {
|
||||||
if let Some(found_value) = extract_field_by_dot_path(value, dot_path) {
|
if let Some(found_value) = extract_field_by_dot_path(value, dot_path) {
|
||||||
|
|||||||
Reference in New Issue
Block a user