diff --git a/src/interceptors/multipart_request.js b/src/interceptors/multipart_request.js index b5e5592..3251e58 100644 --- a/src/interceptors/multipart_request.js +++ b/src/interceptors/multipart_request.js @@ -19,7 +19,7 @@ export default class MultipartRequest { } const formDataObj = entries(params).reduce((fd, entry) => { - const [val, key] = entry; + const [key, val] = entry; fd.append(key, val); return fd; }, new FormData());