Changes to be committed:
modified: app/src/main/java/com/navi/medici/androidCustomerApp/api/LoginApi.kt modified: app/src/main/java/com/navi/medici/androidCustomerApp/api/OtpApi.kt modified: app/src/main/java/com/navi/medici/androidCustomerApp/api/RegisterApi.kt
This commit is contained in:
@@ -7,8 +7,10 @@ import retrofit2.Response
|
||||
import retrofit2.http.Body
|
||||
import retrofit2.http.POST
|
||||
|
||||
private const val BASE_URL = "https://auth-service.np.navi-tech.in"
|
||||
//private const val BASE_URL = "https://auth-service.np.navi-tech.in"
|
||||
//private const val BASE_URL = "http://192.168.31.220:3020"
|
||||
//private const val BASE_URL = "https://auth-service.np.navi-tech.in"
|
||||
private const val BASE_URL = "https://77614f4e-45a5-49a3-928c-b232ce7620ef.mock.pstmn.io"
|
||||
|
||||
interface LoginApi {
|
||||
@POST("/auth/otps/generate")
|
||||
|
||||
@@ -7,8 +7,10 @@ import retrofit2.Response
|
||||
import retrofit2.http.Body
|
||||
import retrofit2.http.POST
|
||||
|
||||
private const val BASE_URL = "https://auth-service.np.navi-tech.in"
|
||||
//private const val BASE_URL = "https://auth-service.np.navi-tech.in"
|
||||
//private const val BASE_URL = "http://192.168.31.220:3020"
|
||||
//private const val BASE_URL = "https://auth-service.np.navi-tech.in"
|
||||
private const val BASE_URL = "https://77614f4e-45a5-49a3-928c-b232ce7620ef.mock.pstmn.io"
|
||||
|
||||
interface OtpApi {
|
||||
@POST("/auth/tokens")
|
||||
|
||||
@@ -7,8 +7,11 @@ import retrofit2.Response
|
||||
import retrofit2.http.Body
|
||||
import retrofit2.http.PUT
|
||||
|
||||
private const val BASE_URL = "https://auth-service.np.navi-tech.in"
|
||||
//private const val BASE_URL = "https://auth-service.np.navi-tech.in"
|
||||
//private const val BASE_URL = "http://192.168.31.220:3020"
|
||||
//private const val BASE_URL = "https://auth-service.np.navi-tech.in"
|
||||
private const val BASE_URL = "https://77614f4e-45a5-49a3-928c-b232ce7620ef.mock.pstmn.io"
|
||||
|
||||
interface RegisterApi {
|
||||
@PUT("/auth/app-installations/register")
|
||||
suspend fun checkDevice(@Body registerRequest: RegisterRequest): Response<RegisterResponse>
|
||||
|
||||
Reference in New Issue
Block a user