Skip to content

Commit c889471

Browse files
authored
Merge pull request #119 from docusign/DEVDOCS-11856
fix problem with signing via email service
2 parents 4e153f3 + e12b6dc commit c889471

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

JWTConsoleApp/JWTConsoleApp.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,11 @@ function ($severity, $message, $file, $line) {
107107

108108
$clientService = new SignatureClientService($args);
109109
$demoDocsPath = $GLOBALS['DS_CONFIG']['demo_doc_path'];
110-
110+
$pdfDoc = $GLOBALS['DS_CONFIG']['doc_pdf'];
111+
$docxDoc = $GLOBALS['DS_CONFIG']['doc_docx'];
111112
try {
112113
$callAPI = new SigningViaEmailService();
113-
$result = $callAPI->signingViaEmail($args, $clientService, $demoDocsPath);
114+
$result = $callAPI->signingViaEmail($args, $clientService, $demoDocsPath, $docxDoc, $pdfDoc);
114115

115116
echo "Successfully sent envelope with envelope ID: " . $result['envelope_id'] . "\n";
116117
} catch (\Throwable $th) {

0 commit comments

Comments
 (0)