diff options
Diffstat (limited to 'catalog-ui/src/app/ng2/services/config.service.ts')
-rw-r--r-- | catalog-ui/src/app/ng2/services/config.service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog-ui/src/app/ng2/services/config.service.ts b/catalog-ui/src/app/ng2/services/config.service.ts index 053f2c7659..3e6e667285 100644 --- a/catalog-ui/src/app/ng2/services/config.service.ts +++ b/catalog-ui/src/app/ng2/services/config.service.ts @@ -37,8 +37,8 @@ export class ConfigService { public api:IApi; constructor(private http: Http, @Inject(SdcConfigToken) private sdcConfig:ISdcConfig) { - this.api = this.sdcConfig.api; - this.baseUrl = this.api.root + this.api.component_api_root; + this.api = this.sdcConfig.api; + this.baseUrl = this.sdcConfig.api.root + this.sdcConfig.api.component_api_root; } loadValidationConfiguration(): Promise<ValidationConfiguration> { |