2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-30 15:24:11 +03:00

If this place is false, it will report an error, so you should delete the useless code. (#2458)

This commit is contained in:
不才
2019-12-26 05:00:15 +08:00
committed by Yasu Flores
parent 03e6f4bf4c
commit ee47120a09
+1 -1
View File
@@ -37,7 +37,7 @@ module.exports = function dispatchRequest(config) {
config.headers = utils.merge(
config.headers.common || {},
config.headers[config.method] || {},
config.headers || {}
config.headers
);
utils.forEach(