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 May 17, 2024
1 parent 1aa77fb commit 9b1bf75
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions crates/router/src/connector/payone/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,17 @@ use crate::{
utils::OptionExt,
};
#[cfg(not(feature = "payouts"))]
use crate::{core::errors, types::{self,api,storage::enums as storage_enums}};
use crate::{
core::errors,
types::{self, api, storage::enums as storage_enums},
};

pub struct PayoneRouterData<T> {
pub amount: String,
pub router_data: T,
}

impl<T>
TryFrom<(
&api::CurrencyUnit,
storage_enums::Currency,
i64,
T,
)> for PayoneRouterData<T>
{
impl<T> TryFrom<(&api::CurrencyUnit, storage_enums::Currency, i64, T)> for PayoneRouterData<T> {
type Error = error_stack::Report<errors::ConnectorError>;
fn try_from(
(_currency_unit, _currency, amount, item): (
Expand Down

0 comments on commit 9b1bf75

Please sign in to comment.