changed the host url
This commit is contained in:
@@ -24,6 +24,7 @@ import io.reactivex.schedulers.Schedulers;
|
||||
|
||||
import static com.mogo.commons.context.ContextHolderUtil.getContext;
|
||||
import static com.mogo.module.adas.AdasConstant.getBaseUrl;
|
||||
import static com.mogo.module.common.constants.HostConst.DATA_SERVICE_HOST;
|
||||
|
||||
public class AdasServiceModel {
|
||||
|
||||
@@ -38,7 +39,7 @@ public class AdasServiceModel {
|
||||
private final IAdasApiService mAdasApiService;
|
||||
|
||||
private AdasServiceModel() {
|
||||
this.mAdasApiService = MogoApisHandler.getInstance().getApis().getNetworkApi().create(IAdasApiService.class, getBaseUrl());
|
||||
this.mAdasApiService = MogoApisHandler.getInstance().getApis().getNetworkApi().create(IAdasApiService.class, DATA_SERVICE_HOST);
|
||||
}
|
||||
|
||||
public static AdasServiceModel getInstance() {
|
||||
|
||||
Reference in New Issue
Block a user