Skip to content
Snippets Groups Projects
Commit e838a622 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files
parents 30f14875 1143579d
No related branches found
No related tags found
No related merge requests found
Pipeline #30243 passed
......@@ -27,13 +27,13 @@ class SignatureFlow implements IObjectFormattable
* @var string|null
* @ORM\Column(type="string", nullable=true)
*/
private ?string $label;
private ?string $label = null;
/**
* @var string|null
* @ORM\Column(type="string", nullable=true)
*/
private ?string $description;
private ?string $description = null;
/**
* @var ArrayCollection
......
......@@ -23,13 +23,13 @@ class SignatureFlowStep implements IObjectFormattable
* @var string|null
* @ORM\Column(type="string", length=64, nullable=true)
*/
private ?string $recipientsMethod;
private ?string $recipientsMethod = null;
/**
* @var string|null
* @ORM\Column(type="string", length=64, nullable=true)
*/
private ?string $label;
private ?string $label = null;
/**
* @var string
......
......@@ -263,7 +263,12 @@ class EsupLetterfileStrategy implements ILetterfileStrategy
$this->getBaseUrl() . sprintf(self::WS_SIGNREQUESTS_DELETE_ID, $id),
['id' => $id]
);
return $jsonDatas['return'];
if(isset($jsonDatas['code']) && $jsonDatas['code'] == 200)
{
return true;
}
return false;
} catch (Exception $e) {
$this->getLoggerService()->critical(
"Impossible de supprimer la SignRequest '$id' : " . $e->getMessage()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment