diff --git a/ng2-components/ng2-alfresco-core/src/services/AlfrescoAuthentication.service.ts b/ng2-components/ng2-alfresco-core/src/services/AlfrescoAuthentication.service.ts index 9742e6179e..68483d12f4 100644 --- a/ng2-components/ng2-alfresco-core/src/services/AlfrescoAuthentication.service.ts +++ b/ng2-components/ng2-alfresco-core/src/services/AlfrescoAuthentication.service.ts @@ -37,16 +37,16 @@ export class AlfrescoAuthenticationService { this.alfrescoApi = new AlfrescoApi({ provider: this.alfrescoSetting.getProviders(), ticket: this.isLoggedIn() ? this.getTicket().split(',')[0] : null, - host: this.alfrescoSetting.ecmHost, - hostActiviti: this.alfrescoSetting.bpmHost + hostEcm: this.alfrescoSetting.ecmHost, + hostBpm: this.alfrescoSetting.bpmHost }); alfrescoSetting.bpmHostSubject.subscribe((value) => { - this.alfrescoApi.config.hostActiviti = value; + this.alfrescoApi.config.hostBpm = value; }); alfrescoSetting.ecmHostSubject.subscribe((value) => { - this.alfrescoApi.config.host = value; + this.alfrescoApi.config.hostEcm = value; }); alfrescoSetting.providerSubject.subscribe((value) => {