pipedrive / client-nodejs

Pipedrive API client for NodeJS
MIT License
205 stars 82 forks source link

FilesController.getDownloadOneFile does not work #138

Closed lucianolxp closed 4 years ago

lucianolxp commented 4 years ago

the response from the /files/{id}/download api route is a file, but the sdk expects a JSON and tries to parse it, resulting in an error

https://github.com/pipedrive/client-nodejs/blob/ccd54f244b63f7e0bb9e87e55705fe9a8096b0b8/lib/Controllers/FilesController.js#L758

ziimk commented 4 years ago

This looks like a bug indeed. We'll be trying to get a fix out the door during next week

mykhailo-riabokon commented 4 years ago

Hi @lucianolxp

Thanks for reporting this issue. It was fixed in 10.4.3.