From 8dbd7561e10ad36c9c336ae5f088e4c32e8b6439 Mon Sep 17 00:00:00 2001 From: Dzianis Dashkevich Date: Wed, 5 Jun 2024 19:37:26 -0400 Subject: [PATCH] chore: fix typo --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index cab70d8..70b2b52 100644 --- a/src/index.js +++ b/src/index.js @@ -174,7 +174,7 @@ function _createXHR(options) { const responseInterceptorPayload = { headers: failureResponse.headers || {}, body: failureResponse.body, - responseUrl: xhr.responseUrl, + responseUrl: xhr.responseURL, responseType: xhr.responseType, } @@ -223,7 +223,7 @@ function _createXHR(options) { const responseInterceptorPayload = { headers: response.headers || {}, body: response.body, - responseUrl: xhr.responseUrl, + responseUrl: xhr.responseURL, responseType: xhr.responseType, }