Skip to content

Commit

Permalink
use mimetype from asice for document extracted from container
Browse files Browse the repository at this point in the history
  • Loading branch information
celuchmarek committed Aug 5, 2024
1 parent 53e47e9 commit 16f0253
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 16f0253

Please sign in to comment.