Skip to content

Commit 43628e2

Browse files
authored
Interceptors cannot be chained anymore (#167)
* fix: #137
1 parent f399690 commit 43628e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const refreshAuthLogic = failedRequest => axios.post('https://www.example.com/au
6464
return Promise.resolve();
6565
});
6666

67-
// Instantiate the interceptor (you can chain it as it returns the axios instance)
67+
// Instantiate the interceptor
6868
createAuthRefreshInterceptor(axios, refreshAuthLogic);
6969

7070
// Make a call. If it returns a 401 error, the refreshAuthLogic will be run,

0 commit comments

Comments
 (0)