mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-25 09:23:17 +01:00
fix: axios transform request bind (#3123)
This commit is contained in:
parent
572c7ea2ae
commit
8b6e55dfc0
@ -61,7 +61,9 @@ function makeAxiosInstance() {
|
|||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
axios.defaults.transformRequest.forEach((tr) => data = tr(data, headers));
|
axios.defaults.transformRequest.forEach(function (tr) {
|
||||||
|
data = tr.call(this, data, headers);
|
||||||
|
}, this);
|
||||||
return data;
|
return data;
|
||||||
},
|
},
|
||||||
proxy: false
|
proxy: false
|
||||||
|
Loading…
Reference in New Issue
Block a user