File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
analytics/src/payments/metrics Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ mod retries_count;
10
10
mod success_rate;
11
11
pub ( super ) use avg_ticket_size:: AvgTicketSize ;
12
12
pub ( super ) use connector_success_rate:: ConnectorSuccessRate ;
13
+ pub ( super ) use debit_routing:: DebitRouting ;
13
14
pub ( super ) use failure_reasons:: FailureReasons ;
14
15
pub ( super ) use payment_count:: PaymentCount ;
15
16
pub ( super ) use payment_processed_amount:: PaymentProcessedAmount ;
16
17
pub ( super ) use payment_success_count:: PaymentSuccessCount ;
17
18
pub ( super ) use payments_distribution:: PaymentsDistribution ;
18
19
pub ( super ) use retries_count:: RetriesCount ;
19
20
pub ( super ) use success_rate:: PaymentSuccessRate ;
20
- pub ( super ) use debit_routing:: DebitRouting ;
21
21
22
22
pub use super :: { PaymentMetric , PaymentMetricAnalytics , PaymentMetricRow } ;
Original file line number Diff line number Diff line change 38
38
time_range : & TimeRange ,
39
39
pool : & T ,
40
40
) -> MetricsResult < HashSet < ( PaymentMetricsBucketIdentifier , PaymentMetricRow ) > > {
41
- let mut query_builder: QueryBuilder < T > = QueryBuilder :: new ( AnalyticsCollection :: PaymentSessionized ) ;
41
+ let mut query_builder: QueryBuilder < T > =
42
+ QueryBuilder :: new ( AnalyticsCollection :: PaymentSessionized ) ;
42
43
43
44
for dim in dimensions. iter ( ) {
44
45
query_builder. add_select_column ( dim) . switch ( ) ?;
Original file line number Diff line number Diff line change @@ -865,8 +865,8 @@ fn get_card_network_with_us_local_debit_network_override(
865
865
. map ( |network| network. is_us_local_network ( ) )
866
866
{
867
867
services:: logger:: debug!( "Card network is a US local network, checking for global network in co-badged card data" ) ;
868
- let info: Option < api_models:: open_router:: CoBadgedCardNetworksInfo > =
869
- co_badged_card_data . and_then ( |data| {
868
+ let info: Option < api_models:: open_router:: CoBadgedCardNetworksInfo > = co_badged_card_data
869
+ . and_then ( |data| {
870
870
data. co_badged_card_networks_info
871
871
. 0
872
872
. iter ( )
You can’t perform that action at this time.
0 commit comments