From a6d0f0d7fad9ef2fc3acd92d32e1345630773212 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Mon, 22 Aug 2016 16:59:28 +0100 Subject: [PATCH] change hosts url --- .../src/services/AlfrescoAuthentication.service.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 68483d12f4..92d0083990 100644 --- a/ng2-components/ng2-alfresco-core/src/services/AlfrescoAuthentication.service.ts +++ b/ng2-components/ng2-alfresco-core/src/services/AlfrescoAuthentication.service.ts @@ -41,12 +41,12 @@ export class AlfrescoAuthenticationService { hostBpm: this.alfrescoSetting.bpmHost }); - alfrescoSetting.bpmHostSubject.subscribe((value) => { - this.alfrescoApi.config.hostBpm = value; + alfrescoSetting.bpmHostSubject.subscribe((ecmHost) => { + this.alfrescoApi.config.changeEcmHost(ecmHost); }); - alfrescoSetting.ecmHostSubject.subscribe((value) => { - this.alfrescoApi.config.hostEcm = value; + alfrescoSetting.ecmHostSubject.subscribe((bpmHost) => { + this.alfrescoApi.config.changeBpmHost(bpmHost); }); alfrescoSetting.providerSubject.subscribe((value) => {