Skip to content

Commit

Permalink
Merge branch 'v0.x' into backport-params-serializer-options
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalBrainJS committed Mar 28, 2024
2 parents f6f9f8d + 92a0454 commit 77566f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adapters/xhr.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ module.exports = function xhrAdapter(config) {
if (!request) {
return;
}
reject(!cancel || cancel.type ? new CanceledError(null, config, req) : cancel);
reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
request.abort();
request = null;
};
Expand Down

0 comments on commit 77566f8

Please sign in to comment.