Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #311 from hedii/develop
Browse files Browse the repository at this point in the history
change cancel to abort
  • Loading branch information
steffans authored Jul 1, 2016
2 parents 7d57dbd + ca4b27d commit f493e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/interceptor/timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function (request, next) {

if (request.timeout) {
timeout = setTimeout(() => {
request.cancel();
request.abort();
}, request.timeout);
}

Expand Down

0 comments on commit f493e43

Please sign in to comment.