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 { export class RestService {
constructor( constructor(
@Inject(CORE_OPTIONS) private options: ABP.Root, @Inject(CORE_OPTIONS) protected options: ABP.Root,
private http: HttpClient, protected http: HttpClient,
private store: Store, protected environment: EnvironmentService,
private environment: EnvironmentService, protected store: Store,
) {} ) {}
private getApiFromStore(apiName: string): string { protected getApiFromStore(apiName: string): string {
return this.environment.getApiUrl(apiName); return this.environment.getApiUrl(apiName);
} }

Loading…
Cancel
Save