mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
chore(analytics): adding dispute id to api log events (#3450)
This commit is contained in:
committed by
GitHub
parent
d6807abba4
commit
937aea906e
@ -114,7 +114,6 @@ impl_misc_api_event_type!(
|
||||
CreateFileRequest,
|
||||
FileId,
|
||||
AttachEvidenceRequest,
|
||||
DisputeId,
|
||||
PaymentLinkFormData,
|
||||
ConfigUpdate
|
||||
);
|
||||
@ -142,3 +141,11 @@ impl ApiEventMetric for PaymentsRedirectResponseData {
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
impl ApiEventMetric for DisputeId {
|
||||
fn get_api_event_type(&self) -> Option<ApiEventsType> {
|
||||
Some(ApiEventsType::Dispute {
|
||||
dispute_id: self.dispute_id.clone(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user