Skip to content

Commit 163e31f

Browse files
committed
update merge to master action by deleting concurrency (#29)
1 parent 4997ea6 commit 163e31f

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

.github/workflows/MERGE_MASTER.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ on:
77
branches:
88
- master
99

10-
concurrency:
11-
group: ${{ github.head_ref }}
12-
cancel-in-progress: true
10+
1311

1412
env:
1513
DIRECT_DATABASE_URL: ${{secrets.DIRECT_DATABASE_URL}}

apps/web/src/lib/api/base-api-service.ts

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { AxiosError, AxiosInstance, AxiosRequestConfig } from 'axios';
1+
import type { AxiosInstance, AxiosRequestConfig } from 'axios';
22
import axios from 'axios';
33

44
export abstract class ApiServiceBase {
@@ -32,26 +32,5 @@ export abstract class ApiServiceBase {
3232
baseURL: context,
3333
paramsSerializer: { indexes: null }
3434
});
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-
});
5635
}
5736
}

0 commit comments

Comments
 (0)