Moralis.Web3API.storage.uploadFolder not set data in the axios
LeoTeng opened this issue · comments
New Bug Report
Checklist
- I am not disclosing a vulnerability.
- I have searched through existing issues and the Moralis Forum.
- I can reproduce the issue with the latest SDK release, and my server is updated to the latest version.
Issue Description
The uploadFolder function set body, but AxiosRequestConfig "body" parameter does not exist;
So get the exception "Missing files from body"
need update the code ,set body change to set data.
And the doc should be update, because of was wrong,the source code bodyParams type is "data".
Steps + code to reproduce
Actual Outcome
Expected Outcome
Environment
Server
- Moralis server version:
0.0.369
Client
- Moralis SDK version:
1.5.9"
- Operating system:
Window 10
- Browser:
Chrome
Logs
Thanks, this has been fixed in v1.10