Skip to content

Commit

Permalink
refactor error message
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshayaFoiger committed Jan 17, 2024
1 parent d9ad843 commit d2b7492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/connector/noon/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ impl TryFrom<&types::PaymentsAuthorizeRouterData> for NoonPaymentsRequest {
conn_utils::to_currency_base_unit(mandate.amount, mandate.currency)
}
_ => Err(errors::ConnectorError::MissingRequiredField {
field_name: "mandate_data",
field_name: "setup_future_usage.mandate_data.mandate_type",
})
.into_report(),
}?;
Expand Down

0 comments on commit d2b7492

Please sign in to comment.