Skip to content

Commit 4da8f20

Browse files
committed
fix: remove unused argument
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent ae10298 commit 4da8f20

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/Controller/SignatureElementsController.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,7 @@ public function getSignatureElements(): DataResponse {
160160
#[ApiRoute(verb: 'GET', url: '/api/{apiVersion}/signature/elements/preview/{nodeId}', requirements: ['apiVersion' => '(v1)'])]
161161
public function getSignatureElementPreview(int $nodeId) {
162162
try {
163-
$node = $this->accountService->getFileByNodeId(
164-
$nodeId,
165-
$this->sessionService->getSessionId()
166-
);
163+
$node = $this->accountService->getFileByNodeId($nodeId);
167164
if ($this->preview->isAvailable($node)) {
168165
$preview = $this->preview->getPreview(
169166
file: $node,

0 commit comments

Comments
 (0)