fix(payments_list): remove time range to filter payments attempts (#6159)

This commit is contained in:
Apoorv Dixit
2024-09-30 20:06:29 +05:30
committed by GitHub
parent e4a35d366b
commit da1f23d235
6 changed files with 0 additions and 18 deletions

View File

@ -3243,7 +3243,6 @@ pub async fn apply_filters_on_payments(
constraints.payment_method_type,
constraints.authentication_type,
constraints.merchant_connector_id,
constraints.time_range,
pi_fetch_constraints.get_profile_id_list(),
merchant.storage_scheme,
)

View File

@ -1604,7 +1604,6 @@ impl PaymentAttemptInterface for KafkaStore {
payment_method_type: Option<Vec<common_enums::PaymentMethodType>>,
authentication_type: Option<Vec<common_enums::AuthenticationType>>,
merchant_connector_id: Option<Vec<id_type::MerchantConnectorAccountId>>,
time_range: Option<common_utils::types::TimeRange>,
profile_id_list: Option<Vec<id_type::ProfileId>>,
storage_scheme: MerchantStorageScheme,
) -> CustomResult<i64, errors::DataStorageError> {
@ -1617,7 +1616,6 @@ impl PaymentAttemptInterface for KafkaStore {
payment_method_type,
authentication_type,
merchant_connector_id,
time_range,
profile_id_list,
storage_scheme,
)