Skip to content

Commit

Permalink
Merge pull request #184 from TrustNXT/bugfix/ingredient-thumbnail-ass…
Browse files Browse the repository at this point in the history
…ertion-suffix

ThumbnailAssertion: Use two underscores for suffixes
  • Loading branch information
cyraxx authored Dec 6, 2024
2 parents 6f23177 + b90dd4b commit 76d87da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eighty-olives-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@trustnxt/c2pa-ts': patch
---

Use two underscores for ingredient thumbnail assertion suffix
2 changes: 1 addition & 1 deletion src/manifest/assertions/ThumbnailAssertion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class ThumbnailAssertion extends Assertion {
assertion.label = AssertionLabels.thumbnailPrefix + imageType;
} else {
assertion.label =
AssertionLabels.ingredientThumbnailPrefix + (suffix ? '_' + suffix : '') + '.' + imageType;
AssertionLabels.ingredientThumbnailPrefix + (suffix ? '__' + suffix : '') + '.' + imageType;
}
return assertion;
}
Expand Down

0 comments on commit 76d87da

Please sign in to comment.