mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 12:15:40 +08:00
fix(events): fix event generation for paymentmethods list (#3337)
This commit is contained in:
@ -39,7 +39,6 @@ impl ApiEventMetric for TimeRange {}
|
||||
impl_misc_api_event_type!(
|
||||
PaymentMethodId,
|
||||
PaymentsSessionResponse,
|
||||
PaymentMethodListResponse,
|
||||
PaymentMethodCreate,
|
||||
PaymentLinkInitiateRequest,
|
||||
RetrievePaymentLinkResponse,
|
||||
|
||||
@ -3,7 +3,7 @@ use common_utils::events::{ApiEventMetric, ApiEventsType};
|
||||
use crate::{
|
||||
payment_methods::{
|
||||
CustomerPaymentMethodsListResponse, PaymentMethodDeleteResponse, PaymentMethodListRequest,
|
||||
PaymentMethodResponse, PaymentMethodUpdate,
|
||||
PaymentMethodListResponse, PaymentMethodResponse, PaymentMethodUpdate,
|
||||
},
|
||||
payments::{
|
||||
PaymentIdType, PaymentListConstraints, PaymentListFilterConstraints, PaymentListFilters,
|
||||
@ -119,6 +119,8 @@ impl ApiEventMetric for PaymentMethodListRequest {
|
||||
}
|
||||
}
|
||||
|
||||
impl ApiEventMetric for PaymentMethodListResponse {}
|
||||
|
||||
impl ApiEventMetric for PaymentListFilterConstraints {
|
||||
fn get_api_event_type(&self) -> Option<ApiEventsType> {
|
||||
Some(ApiEventsType::ResourceListAPI)
|
||||
|
||||
Reference in New Issue
Block a user