@@ -54,9 +54,7 @@ private function loadEntitiesFromUuid(string $uuid): void {
5454 public function validateSignRequestUuid (string $ uuid ): void {
5555 $ this ->loadEntitiesFromUuid ($ uuid );
5656 $ this ->signFileService ->validateSigner ($ uuid , $ this ->userSession ->getUser ());
57- $ this ->nextcloudFile = $ this ->signFileService ->getNextcloudFile (
58- $ this ->fileEntity ->getNodeId (),
59- );
57+ $ this ->nextcloudFile = $ this ->signFileService ->getNextcloudFile ($ this ->fileEntity );
6058 }
6159
6260 /**
@@ -65,19 +63,15 @@ public function validateSignRequestUuid(string $uuid): void {
6563 public function validateRenewSigner (string $ uuid ): void {
6664 $ this ->loadEntitiesFromUuid ($ uuid );
6765 $ this ->signFileService ->validateRenewSigner ($ uuid , $ this ->userSession ->getUser ());
68- $ this ->nextcloudFile = $ this ->signFileService ->getNextcloudFile (
69- $ this ->fileEntity ->getNodeId (),
70- );
66+ $ this ->nextcloudFile = $ this ->signFileService ->getNextcloudFile ($ this ->fileEntity );
7167 }
7268
7369 /**
7470 * @throws LibresignException
7571 */
7672 public function loadNextcloudFileFromSignRequestUuid (string $ uuid ): void {
7773 $ this ->loadEntitiesFromUuid ($ uuid );
78- $ this ->nextcloudFile = $ this ->signFileService ->getNextcloudFile (
79- $ this ->fileEntity ->getNodeId (),
80- );
74+ $ this ->nextcloudFile = $ this ->signFileService ->getNextcloudFile ($ this ->fileEntity );
8175 }
8276
8377 public function getSignRequestEntity (): ?SignRequestEntity {
0 commit comments