Skip to content

Commit 451311f

Browse files
authored
Merge pull request #167 from Destronom/patch-1
Update upload-documents.php
2 parents 8e51a2e + ce34246 commit 451311f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/upload-documents.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
$uploadDocumentsRequest->Documents[0]->FileName = 'CommercialInvoice.xls';
3434

3535
// Document content.
36-
$uploadDocumentsRequest->Documents[0]->DocumentContent = base64_encode(file_get_contents(__DIR__ . '/CommercialInvoice.xls'));
36+
$uploadDocumentsRequest->Documents[0]->DocumentContent = file_get_contents(__DIR__ . '/CommercialInvoice.xls');
3737

3838
$request = new Request();
3939
try {

0 commit comments

Comments
 (0)