mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 21:07:58 +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:
@ -368,7 +368,7 @@ impl<T: DatabaseStore> PayoutsInterface for KVRouterStore<T> {
|
||||
async fn filter_payouts_by_time_range_constraints(
|
||||
&self,
|
||||
merchant_id: &common_utils::id_type::MerchantId,
|
||||
time_range: &api_models::payments::TimeRange,
|
||||
time_range: &common_utils::types::TimeRange,
|
||||
storage_scheme: MerchantStorageScheme,
|
||||
) -> error_stack::Result<Vec<Payouts>, StorageError> {
|
||||
self.router_store
|
||||
@ -772,7 +772,7 @@ impl<T: DatabaseStore> PayoutsInterface for crate::RouterStore<T> {
|
||||
async fn filter_payouts_by_time_range_constraints(
|
||||
&self,
|
||||
merchant_id: &common_utils::id_type::MerchantId,
|
||||
time_range: &api_models::payments::TimeRange,
|
||||
time_range: &common_utils::types::TimeRange,
|
||||
storage_scheme: MerchantStorageScheme,
|
||||
) -> error_stack::Result<Vec<Payouts>, StorageError> {
|
||||
let payout_filters = (*time_range).into();
|
||||
|
||||
Reference in New Issue
Block a user