mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
refactor(router): Remove payment_methods_v2 and customer_v2 feature flag (#8236)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -1,7 +1,4 @@
|
||||
#[cfg(all(
|
||||
any(feature = "v1", feature = "v2"),
|
||||
not(feature = "payment_methods_v2")
|
||||
))]
|
||||
#[cfg(feature = "v1")]
|
||||
use common_utils::errors::CustomResult;
|
||||
use common_utils::types::keymanager;
|
||||
use hyperswitch_domain_models::{
|
||||
@ -42,10 +39,7 @@ impl From<&PaymentMethodsState> for keymanager::KeyManagerState {
|
||||
state.key_manager_state.clone()
|
||||
}
|
||||
}
|
||||
#[cfg(all(
|
||||
any(feature = "v1", feature = "v2"),
|
||||
not(feature = "payment_methods_v2")
|
||||
))]
|
||||
#[cfg(feature = "v1")]
|
||||
impl PaymentMethodsState {
|
||||
pub async fn find_payment_method(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user