Browse Source

Merge pull request #6280 from abpframework/fix/6250

Fixed the module template angular authentication problem
pull/6292/head
Mehmet Erim 6 years ago
committed by GitHub
parent
commit
59797cd3b6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      npm/ng-packs/packages/core/src/lib/services/application-configuration.service.ts

10
npm/ng-packs/packages/core/src/lib/services/application-configuration.service.ts

@ -9,11 +9,7 @@ import { RestService } from './rest.service';
providedIn: 'root',
})
export class ApplicationConfigurationService {
get apiName(): string {
return this.environment.getEnvironment().application?.name;
}
constructor(private rest: RestService, private environment: EnvironmentService) {}
constructor(private rest: RestService) {}
getConfiguration(): Observable<ApplicationConfiguration.Response> {
const request: Rest.Request<null> = {
@ -21,8 +17,6 @@ export class ApplicationConfigurationService {
url: '/api/abp/application-configuration',
};
return this.rest.request<null, ApplicationConfiguration.Response>(request, {
apiName: this.apiName,
});
return this.rest.request<null, ApplicationConfiguration.Response>(request, {});
}
}

Loading…
Cancel
Save