Excludes empty parameters from the file upload method. Only folderId or folderPath can be passed as a param. Passing an empty value with one of the keys causes the request to fail with a 500 error, so we exclude the empty param entirely from the payload.
Purpose
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist
[ ] I have added tests to prove that what I have fixed or added does indeed work
Description
Excludes empty parameters from the file upload method. Only
folderId
orfolderPath
can be passed as a param. Passing an empty value with one of the keys causes the request to fail with a 500 error, so we exclude the empty param entirely from the payload.Purpose
Checklist