Skip to content

Commit

Permalink
docs: fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Dec 7, 2023
1 parent 94f8215 commit c98cae1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/interceptors/examples/responseStatusInterceptor.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const axle = createAxle()

axle.useResponseInterceptor(
responseStatusInterceptor({
// by default, axios define status >= 200 && status < 300 to be validate status
validateHandler: {
200: (response) => {
console.log('validate handler status 200:', response)
Expand Down

0 comments on commit c98cae1

Please sign in to comment.