Skip to content

Commit

Permalink
issue#60 - Fix for missing param in ApiRequest for canceling document
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Latinovic committed Feb 7, 2022
1 parent 577cd78 commit 38e3f98
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdk/Eversign/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,8 @@ public function createDocumentFromTemplate(DocumentTemplate $template) {
$serializer = SerializerBuilder::create()->build();
$payLoad = $serializer->serialize($template, 'json');

$request = new ApiRequest("POST",
$request = new ApiRequest(
"POST",
$this->accessKey,
Config::DOCUMENT_URL,
"Eversign\Document",
Expand Down Expand Up @@ -604,6 +605,7 @@ public function deleteDocument(Document $document, $type=NULL) {
Config::DOCUMENT_URL,
"Eversign\Result",
$parameters,
null,
$this->apiBaseUrl,
$this->apiRequestTimeout
);
Expand Down

0 comments on commit 38e3f98

Please sign in to comment.