Skip to content

Commit eda3440

Browse files
authored
Update http.service.ts
make instance and makeObservable protected
1 parent 5725a38 commit eda3440

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/http.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { AXIOS_INSTANCE_TOKEN } from './http.constants';
1212
export class HttpService {
1313
constructor(
1414
@Inject(AXIOS_INSTANCE_TOKEN)
15-
private readonly instance: AxiosInstance = Axios,
15+
protected readonly instance: AxiosInstance = Axios,
1616
) {}
1717

1818
request<T = any>(config: AxiosRequestConfig): Observable<AxiosResponse<T>> {
@@ -68,7 +68,7 @@ export class HttpService {
6868
return this.instance;
6969
}
7070

71-
private makeObservable<T>(
71+
protected makeObservable<T>(
7272
axios: (...args: any[]) => AxiosPromise<T>,
7373
...args: any[]
7474
) {

0 commit comments

Comments
 (0)