DDB-1753 #5

Merged
dcherednik merged 21 commits from DDB-1753 into master 2025-03-21 13:37:34 +03:00
1 changed files with 7 additions and 2 deletions
Showing only changes of commit 82ae1cbdf8 - Show all commits

View File

@ -25,8 +25,13 @@ class DigitalSignatureController extends AbstractController
{
$token = $request->server->get('HTTP_AUTHORIZATION');
return $this->createJsonResponseFromObject(
$this->digitalSignatureService->getSignature($digitalSignatureRequest, $token)
$response = $this->digitalSignatureService->getSignature($digitalSignatureRequest, $token);
return $this->createJsonResponse(
[
'hash' => $response->hash,
'content' => $response->content,
]
);
}
}