Skip to content

Commit

Permalink
feat: don't list stuff that is done
Browse files Browse the repository at this point in the history
  • Loading branch information
rompemoldes committed Sep 11, 2023
1 parent 7a935bb commit 5281a8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/revoker/expiredInventory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ export async function fillExpiredInventory() {
if (shouldBeRemoved(expiredAttestation)) {
attestationsToRemove.push(expiredAttestation);
} else {
attestationsToRevoke.push(expiredAttestation);
if (expiredAttestation.revoked === false) {
attestationsToRevoke.push(expiredAttestation);
}
attestationsToRemoveLater.push(expiredAttestation);
}
}
Expand Down

0 comments on commit 5281a8c

Please sign in to comment.