TP-51453 | PSEC-1143 | Sohan Reddy | Rewards kong migration (#9122)
This commit is contained in:
committed by
GitHub
parent
7a38df1b47
commit
5f7ca8cecb
@@ -101,9 +101,10 @@ interface RetrofitService {
|
||||
): Response<GenericResponse<CSATResponse>>
|
||||
|
||||
|
||||
@POST("/rewards/kyc/verify-kyc")
|
||||
suspend fun getKuberKycVerifyPollingDetails(
|
||||
@Body kycVerifyRequest: TdsKycVerifyRequest?
|
||||
@POST("/reward-service/kyc/verify-kyc")
|
||||
suspend fun getKycVerifyPollingDetails(
|
||||
@Body kycVerifyRequest: TdsKycVerifyRequest?,
|
||||
@Header("X-Target") header: String
|
||||
): Response<GenericResponse<KycCheckPollingConfigResponse>>
|
||||
|
||||
@GET("/rewards/verify/poll-details")
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
package com.navi.rr.tds.repo
|
||||
|
||||
import com.navi.common.model.ModuleNameV2
|
||||
import com.navi.common.network.models.RepoResult
|
||||
import com.navi.common.network.retrofit.ResponseCallback
|
||||
import com.navi.rr.network.di.SuperAppRetrofitForRR
|
||||
@@ -24,8 +25,9 @@ class TdsRepository @Inject constructor(@SuperAppRetrofitForRR private val super
|
||||
|
||||
suspend fun fetchTDSKycVerifyPollingConfig(kycVerifyRequest: TdsKycVerifyRequest?): RepoResult<KycCheckPollingConfigResponse> {
|
||||
return apiResponseCallback(
|
||||
superAppRetrofitService.getKuberKycVerifyPollingDetails(
|
||||
kycVerifyRequest
|
||||
superAppRetrofitService.getKycVerifyPollingDetails(
|
||||
kycVerifyRequest,
|
||||
ModuleNameV2.REWARDS.name
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user