Skip to content

Commit

Permalink
chore: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperswitch-bot[bot] committed Feb 24, 2025
1 parent 776f408 commit a3980af
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions crates/router/src/core/payments/flows/session_flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,8 @@ fn create_amazon_pay_session_token(
return Err(errors::ApiErrorResponse::InvalidDataFormat {
field_name: "ledger_currency".to_string(),
expected_format: "USD".to_string(),
}.into())
}
.into())
}
};
// currently supports only the 'automatic' capture_method
Expand Down Expand Up @@ -1415,8 +1416,10 @@ fn create_amazon_pay_session_token(
e
})
})
.collect::<Result<Vec<payment_types::AmazonPayDeliveryOptions>, errors::ApiErrorResponse>>(
)
.collect::<Result<
Vec<payment_types::AmazonPayDeliveryOptions>,
errors::ApiErrorResponse,
>>()
})
})
.transpose()?
Expand Down

0 comments on commit a3980af

Please sign in to comment.