Skip to content

Commit 1e24d38

Browse files
committed
fix: use correct route for ID docs PDF URLs
Change from getPdfFile to getPdf route which accepts file UUID instead of requiring SignRequest UUID Signed-off-by: Vitor Mattos <[email protected]>
1 parent 06c3db1 commit 1e24d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Db/IdDocsMapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function list(array $filter, ?int $page = null, ?int $length = null): arr
109109
$pagination->setCurrentPage($page);
110110
$currentPageResults = $pagination->getCurrentPageResults();
111111

112-
$url = $this->urlGenerator->linkToRoute('libresign.page.getPdfFile', ['uuid' => '_replace_']);
112+
$url = $this->urlGenerator->linkToRoute('libresign.page.getPdf', ['uuid' => '_replace_']);
113113
$url = str_replace('_replace_', '', $url);
114114

115115
$data = [];

0 commit comments

Comments
 (0)