2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-08 17:22:34 +03:00

Rename axios.createNew to axios.create

This commit is contained in:
Nick Uraltsev
2015-10-23 08:40:46 -07:00
parent 96afe324b3
commit 4ac0fbd1c1
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -110,9 +110,9 @@ axios({
xsrfHeaderName: 'X-XSRF-TOKEN' // default
});
var instance = axios.createNew();
var instance = axios.create();
axios.createNew({
axios.create({
transformRequest: (data) => {
return data.doSomething();
},