hubspot-net / HubSpot.NET

C# .NET Wrapper around the common HubSpot APIs.
MIT License
112 stars 137 forks source link

Exclude empty parameters from file upload #127

Closed cassaram09 closed 1 year ago

cassaram09 commented 1 year ago

Description

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

Checklist