Skip to content
Permalink
Browse files

fix: use `Axios` for `isCancel` (fixes #301)

  • Loading branch information
pi0 committed Oct 22, 2019
1 parent 153f181 commit 82dfccce409e918a91e498af1340408dc0892bf5
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/plugin.js
@@ -135,7 +135,7 @@ const setupProgress = (axios, ctx) => {

currentRequests--

if (axios.isCancel(error)) {
if (Axios.isCancel(error)) {
return
}

0 comments on commit 82dfccc

Please sign in to comment.
You can’t perform that action at this time.