diff --git a/src/app/workflow/controllers/YousignController.php b/src/app/workflow/controllers/YousignController.php index 0a1c02a7fb0733aaed2a36d02ed7aa76dba9fee7..6d5dd77e3d267f0b91134d39649644e07f4867a6 100755 --- a/src/app/workflow/controllers/YousignController.php +++ b/src/app/workflow/controllers/YousignController.php @@ -99,20 +99,20 @@ class YousignController ] ] ], -// 'webhook' => [ -// 'procedure.finished' => [ -// [ -// 'url' => UrlController::getCoreUrl() . "/rest/documents/{$args['documentId']}/workflows/{$args['workflowId']}/files/{$trunkedFileId}", -// 'method' => 'GET', -// ] -// ], -// 'procedure.refused' => [ -// [ -// 'url' => UrlController::getCoreUrl() . "/rest/documents/{$args['documentId']}/workflows/{$args['workflowId']}/files/{$trunkedFileId}", -// 'method' => 'GET', -// ] -// ] -// ] + 'webhook' => [ + 'procedure.finished' => [ + [ + 'url' => UrlController::getCoreUrl() . "rest/documents/{$args['documentId']}/workflows/{$args['workflowId']}/files/{$trunkedFileId}", + 'method' => 'GET', + ] + ], + 'procedure.refused' => [ + [ + 'url' => UrlController::getCoreUrl() . "rest/documents/{$args['documentId']}/workflows/{$args['workflowId']}/files/{$trunkedFileId}", + 'method' => 'GET', + ] + ] + ] ] ]) ]);