Skip to content

Commit

Permalink
fix: list files with deleted signer
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos authored and backportbot-libresign[bot] committed Jan 18, 2025
1 parent e77060a commit cdd6b96
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/Service/FileService.php
Original file line number Diff line number Diff line change
Expand Up @@ -781,10 +781,12 @@ private function associateAllAndFormat(IUser $user, array $files, array $signers
if ($data['me']) {
$temp = array_map(function (IdentifyMethod $identifyMethodEntity) use ($signer): array {
$this->identifyMethodService->setCurrentIdentifyMethod($identifyMethodEntity);
$identifyMethod = $this->identifyMethodService->getInstanceOfIdentifyMethod(
$identifyMethodEntity->getIdentifierKey(),
$identifyMethodEntity->getIdentifierValue(),
);
$identifyMethod = $this->identifyMethodService
->setIsRequest(false)
->getInstanceOfIdentifyMethod(
$identifyMethodEntity->getIdentifierKey(),
$identifyMethodEntity->getIdentifierValue(),
);
$signatureMethods = $identifyMethod->getSignatureMethods();
$return = [];
foreach ($signatureMethods as $signatureMethod) {
Expand Down

0 comments on commit cdd6b96

Please sign in to comment.