mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
refactor(customers_v2): address panics and some bugs in customers v2 endpoints (#6836)
This commit is contained in:
@ -42,7 +42,7 @@ pub enum ApiEventsType {
|
||||
PaymentMethodCreate,
|
||||
#[cfg(all(feature = "v2", feature = "customer_v2"))]
|
||||
Customer {
|
||||
id: String,
|
||||
customer_id: Option<id_type::GlobalCustomerId>,
|
||||
},
|
||||
#[cfg(all(any(feature = "v1", feature = "v2"), not(feature = "customer_v2")))]
|
||||
Customer {
|
||||
|
||||
Reference in New Issue
Block a user