Browse Source

fix: an api name

pull/4457/head
mehmet-erim 6 years ago
parent
commit
2cc0e84bcf
  1. 2
      npm/ng-packs/packages/core/src/lib/states/config.state.ts

2
npm/ng-packs/packages/core/src/lib/states/config.state.ts

@ -190,7 +190,7 @@ export class ConfigState {
@Action(GetAppConfiguration)
addData({ patchState, dispatch }: StateContext<Config.State>) {
const apiName = this.store.selectSnapshot(ConfigState.getDeep('environment.application.name'));
const apiName = 'default';
const api = this.store.selectSnapshot(ConfigState.getApiUrl(apiName));
return this.http
.get<ApplicationConfiguration.Response>(`${api}/api/abp/application-configuration`)

Loading…
Cancel
Save