File tree 2 files changed +2
-25
lines changed 2 files changed +2
-25
lines changed Original file line number Diff line number Diff line change 7
7
branches :
8
8
- master
9
9
10
- concurrency :
11
- group : ${{ github.head_ref }}
12
- cancel-in-progress : true
10
+
13
11
14
12
env :
15
13
DIRECT_DATABASE_URL : ${{secrets.DIRECT_DATABASE_URL}}
Original file line number Diff line number Diff line change 1
- import type { AxiosError , AxiosInstance , AxiosRequestConfig } from 'axios' ;
1
+ import type { AxiosInstance , AxiosRequestConfig } from 'axios' ;
2
2
import axios from 'axios' ;
3
3
4
4
export abstract class ApiServiceBase {
@@ -32,26 +32,5 @@ export abstract class ApiServiceBase {
32
32
baseURL : context ,
33
33
paramsSerializer : { indexes : null }
34
34
} ) ;
35
- // /**
36
- // * Use this to log out all requests during a test run.
37
- // */
38
- // if (process.env.NODE_ENV === 'test') {
39
- // this.http.interceptors.request.use(
40
- // (config) => {
41
- // console.log(`${config.method.toUpperCase()} ${config.baseURL}${config.url}`);
42
- //
43
- // return config;
44
- // }
45
- // );
46
- // }
47
-
48
- this . http . interceptors . response . use ( null , ( error : AxiosError ) => {
49
- if ( error . response && typeof error . response . data === 'string' ) {
50
- // verifySessionTimeout(error.response);
51
- // verifyMaintenanceMode(error.response as AxiosResponse<string>);
52
- }
53
-
54
- return Promise . reject ( error ) ;
55
- } ) ;
56
35
}
57
36
}
You can’t perform that action at this time.
0 commit comments