Skip to content

Commit

Permalink
use mimetype from asice for document extracted from container (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
celuchmarek authored Aug 5, 2024
1 parent 53e47e9 commit dd9b230
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ public static DSSDocument getOriginalDocument(DSSDocument asice) throws Original
throw new MultipleOriginalDocumentsFoundException("V kontajneri bolo nájdených viacero dokumentov na podpis");

var originalDocument = aSiCContent.getSignedDocuments().get(0);
if (isXML(originalDocument.getMimeType()))
setMimeTypeFromManifest(asice, originalDocument);
setMimeTypeFromManifest(asice, originalDocument);

return originalDocument;
}
Expand Down

0 comments on commit dd9b230

Please sign in to comment.