refactor(customers_v2): address panics and some bugs in customers v2 endpoints (#6836)

This commit is contained in:
Sanchith Hegde
2024-12-17 15:54:27 +05:30
committed by GitHub
parent 588ce408b4
commit dfbfce4e42
56 changed files with 909 additions and 478 deletions

View File

@ -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 {