We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be6d90a commit 9cf27a3Copy full SHA for 9cf27a3
1 file changed
packages/common/http/http.service.ts
@@ -1,5 +1,5 @@
1
import axios, { AxiosRequestConfig, AxiosResponse } from 'axios';
2
-import { Observable, from as fromPromise } from 'rxjs';
+import { from as fromPromise, Observable } from 'rxjs';
3
4
export class HttpService {
5
request<T = any>(config: AxiosRequestConfig): Observable<AxiosResponse<T>> {
@@ -50,4 +50,8 @@ export class HttpService {
50
): Observable<AxiosResponse<T>> {
51
return fromPromise(axios.patch(url, data, config));
52
}
53
+
54
+ get axiosRef() {
55
+ return axios;
56
+ }
57
0 commit comments