NTP-63094 | Multi bank experiment edge case handling (#16814)
This commit is contained in:
committed by
GitHub
parent
d4c26b932a
commit
7d72755010
@@ -580,13 +580,12 @@ constructor(
|
||||
return PspType.entries
|
||||
}
|
||||
val supportedPspList =
|
||||
pspDistributionMap
|
||||
.filter { (pspType, weight) -> weight > 0 && PspType.entries.contains(pspType) }
|
||||
.keys
|
||||
.toList()
|
||||
.filter { pspType ->
|
||||
isMultiBankExperimentEnabled() || pspType == PspType.JUSPAY_AXIS
|
||||
}
|
||||
if (!isMultiBankExperimentEnabled()) listOf(PspType.JUSPAY_AXIS)
|
||||
else
|
||||
pspDistributionMap
|
||||
.filter { (pspType, weight) -> weight > 0 && PspType.entries.contains(pspType) }
|
||||
.keys
|
||||
.toList()
|
||||
naviPayAnalytics.onGetSupportedPspList(
|
||||
supportedPspList = supportedPspList,
|
||||
naviPayFlowType = naviPayFlowType,
|
||||
|
||||
Reference in New Issue
Block a user