Browse Source

change private props and methods to protected in RestService

pull/6810/head
Arman Ozak 6 years ago
parent
commit
f37b52480a
  1. 10
      npm/ng-packs/packages/core/src/lib/services/rest.service.ts

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

@ -15,13 +15,13 @@ import { EnvironmentService } from './environment.service';
})
export class RestService {
constructor(
@Inject(CORE_OPTIONS) private options: ABP.Root,
private http: HttpClient,
private store: Store,
private environment: EnvironmentService,
@Inject(CORE_OPTIONS) protected options: ABP.Root,
protected http: HttpClient,
protected environment: EnvironmentService,
protected store: Store,
) {}
private getApiFromStore(apiName: string): string {
protected getApiFromStore(apiName: string): string {
return this.environment.getApiUrl(apiName);
}

Loading…
Cancel
Save