From d5afd14131749d2405325c11ed1e842dcf50b775 Mon Sep 17 00:00:00 2001 From: Sanskar Atrey Date: Fri, 9 Aug 2024 16:54:24 +0530 Subject: [PATCH] fix: frictionless success metric fix (#1133) --- .../AuthenticationAnalytics/AuthenticationAnalyticsEntity.res | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/screens/Analytics/AuthenticationAnalytics/AuthenticationAnalyticsEntity.res b/src/screens/Analytics/AuthenticationAnalytics/AuthenticationAnalyticsEntity.res index 2068219f4..6394cefe3 100644 --- a/src/screens/Analytics/AuthenticationAnalytics/AuthenticationAnalyticsEntity.res +++ b/src/screens/Analytics/AuthenticationAnalytics/AuthenticationAnalyticsEntity.res @@ -246,9 +246,9 @@ let getStatData = ( title: "Frictionless Success Rate", tooltipText: "Total number of payments authenticated over a frictionless flow successfully over the total number of payments going through a frictionless flow.", deltaTooltipComponent: _ => React.null, - value: singleStatData.challenge_success_count->Int.toFloat *. + value: singleStatData.frictionless_success_count->Int.toFloat *. 100. /. - singleStatData.challenge_flow_count->Int.toFloat, + singleStatData.frictionless_flow_count->Int.toFloat, delta: 0.0, data: constructData(FrictionlessSuccessRate, timeSeriesData), statType: "Rate",