mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
fix(payments): add time range in list payment attempts query (#5959)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
use common_enums::{PaymentMethod, PaymentMethodType};
|
||||
use serde::Serialize;
|
||||
|
||||
use crate::id_type;
|
||||
use crate::{id_type, types::TimeRange};
|
||||
|
||||
pub trait ApiEventMetric {
|
||||
fn get_api_event_type(&self) -> Option<ApiEventsType> {
|
||||
@ -139,3 +139,5 @@ impl<T: ApiEventMetric> ApiEventMetric for &T {
|
||||
T::get_api_event_type(self)
|
||||
}
|
||||
}
|
||||
|
||||
impl ApiEventMetric for TimeRange {}
|
||||
|
||||
Reference in New Issue
Block a user