We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e53a5d commit fae8d9eCopy full SHA for fae8d9e
src/libraries/httpService/$api.ts
@@ -7,14 +7,6 @@ export const $api = new HttpService<{ error: string, reason: string }>({
7
Accept: 'application/json',
8
};
9
},
10
- isSuccess: (response) => {
11
- console.log(response.data);
12
- // if (response.data._id === 'react-native') {
13
- // return false;
14
- // }
15
-
16
- return true;
17
- },
18
onRespondError: (response, transform) => {
19
if (response.data && response.data.reason) {
20
transform.message = response.data.reason;
0 commit comments