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 Nov 12, 2024
1 parent f239f59 commit c4d1714
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/router/src/core/webhooks/incoming.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1792,7 +1792,9 @@ async fn update_connector_mandate_details(

if mandate_details
.as_ref()
.map(|details: &diesel_models::PaymentsMandateReference| !details.0.contains_key(&merchant_connector_account_id))
.map(|details: &diesel_models::PaymentsMandateReference| {
!details.0.contains_key(&merchant_connector_account_id)
})
.unwrap_or(true)
{
let updated_connector_mandate_details = insert_mandate_details(
Expand Down

0 comments on commit c4d1714

Please sign in to comment.