Skip to content

Commit

Permalink
fix: array structure
Browse files Browse the repository at this point in the history
The array $files is the root array, the array $data is added to signers
array

Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos authored and backportbot-libresign[bot] committed Apr 1, 2024
1 parent 3cc367d commit 7161d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Db/SignRequestMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ private function associateAllAndFormat(IUser $user, array $files, array $signers

if ($data['me']) {
$data['sign_uuid'] = $signer->getUuid();
$data['url'] = $this->urlGenerator->linkToRoute('libresign.page.getPdfFile', ['uuid' => $signer->getuuid()]);
$files[$key]['url'] = $this->urlGenerator->linkToRoute('libresign.page.getPdfFile', ['uuid' => $signer->getuuid()]);
}

if ($signer->getSigned()) {
Expand Down

0 comments on commit 7161d17

Please sign in to comment.