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:
@@ -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();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user