mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
refactor(router): create api models for customers as opposed to using db models (#91)
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
This commit is contained in:
@ -30,7 +30,7 @@ pub trait Feature<F, T> {
|
||||
self,
|
||||
state: &AppState,
|
||||
connector: api::ConnectorData,
|
||||
maybe_customer: &Option<api::CustomerResponse>,
|
||||
maybe_customer: &Option<storage::Customer>,
|
||||
payment_data: PaymentData<F>,
|
||||
call_connector_action: payments::CallConnectorAction,
|
||||
) -> (RouterResult<Self>, PaymentData<F>)
|
||||
|
||||
Reference in New Issue
Block a user