mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
refactor(connector_customer): incorrect mapping of connector customer (#1275)
This commit is contained in:
@ -16,7 +16,7 @@ use crate::{
|
||||
},
|
||||
routes::AppState,
|
||||
services,
|
||||
types::{self, api, domain, storage},
|
||||
types::{self, api, domain},
|
||||
};
|
||||
|
||||
#[async_trait]
|
||||
@ -87,14 +87,13 @@ pub trait Feature<F, T> {
|
||||
&self,
|
||||
_state: &AppState,
|
||||
_connector: &api::ConnectorData,
|
||||
_connector_customer_map: Option<serde_json::Map<String, serde_json::Value>>,
|
||||
) -> RouterResult<(Option<String>, Option<storage::CustomerUpdate>)>
|
||||
) -> RouterResult<Option<String>>
|
||||
where
|
||||
F: Clone,
|
||||
Self: Sized,
|
||||
dyn api::Connector: services::ConnectorIntegration<F, T, types::PaymentsResponseData>,
|
||||
{
|
||||
Ok((None, None))
|
||||
Ok(None)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user