2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

Clean up PR

This commit is contained in:
Martti Laine
2018-03-09 13:58:08 +02:00
parent 5bfd2ea9f6
commit d78204712a
3 changed files with 26 additions and 38 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ axios.Axios = Axios;
// Factory for creating new instances
axios.create = function create(instanceConfig) {
return createInstance(utils.mergeConfig(axios.defaults, instanceConfig || {}));
return createInstance(utils.mergeConfig(axios.defaults, instanceConfig));
};
// Expose Cancel & CancelToken