fix(formData): return response

This commit is contained in:
Philipp Kunz 2018-07-19 23:32:43 +02:00
parent dbe999eea7
commit 33e36b5d44

View File

@ -58,5 +58,6 @@ export const postFormData = async (
const requestOptions = Object.assign({}, optionsArg, { requestBody: form });
// lets fire the actual request for sending the formdata
request(urlArg, requestOptions);
const response = await request(urlArg, requestOptions);
return response;
};