NTP-62863 | add personalised_offer changes (#16236)
Co-authored-by: Kamalesh Garnayak <Kamalesh.Garnayak@navi.com> Co-authored-by: ayushmansharma <ayushman.sharma@navi.com>
This commit is contained in:
committed by
GitHub
parent
a5e33c10da
commit
b65ccba55f
@@ -232,11 +232,15 @@ constructor(
|
||||
SpecialRewardType.IPL_REWARD -> {
|
||||
processIplRewardGratification(requestId = requestId, screenName = screenName)
|
||||
}
|
||||
|
||||
else -> {
|
||||
processRewardGratification(requestId = requestId, screenName = screenName)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private suspend fun processRewardGratification(requestId: String, screenName: String) {
|
||||
scratchCardNudgeHelperV1
|
||||
scratchCardNudgeHelperV2
|
||||
.getGratification(requestId = requestId, screenName = screenName)
|
||||
.collect { gratificationStatus ->
|
||||
processRewardGratificationCallback(gratificationStatus, screenName)
|
||||
|
||||
Reference in New Issue
Block a user