Skip to content

Commit 5f863ab

Browse files
Merge pull request #5 from avimar/patch-1
add encoding:null to enable file downloads to work
2 parents 7736945 + fc5a050 commit 5f863ab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/faxes/shared-methods.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ function getFile(url, id, auth, options = { id: null, thumbnail: null }, agentOp
8989
url: `${url}/faxes/${id}/file`,
9090
auth,
9191
agentOptions,
92+
encoding: null,
9293
};
9394

9495
if (thumbnail !== null) req.qs.thumbnail = thumbnail;

0 commit comments

Comments
 (0)