fix(EntityAssetService): include format during asset upload (#1177)

This commit is contained in:
Solly authored and GitHub committed 2026-06-25 16:04:39 +01:00
1 parent 41ec2544cf
commit 097e10d651
1 file changed
+1 -1
@@ -139,7 +139,7 @@ export class EntityAssetService {
const newHash = animated ? `a_${imageHashShort}` : imageHashShort; const newHash = animated ? `a_${imageHashShort}` : imageHashShort;
const isAnimated = animated; const isAnimated = animated;
const newS3Key = `${s3KeyBase}/${imageHashShort}`; const newS3Key = `${s3KeyBase}/${imageHashShort}`;
const newCdnUrl = `${cdnUrlBase}/${newHash}`; const newCdnUrl = `${cdnUrlBase}/${newHash}.${format}`;
if (newHash === previousHash) { if (newHash === previousHash) {
return { return {
newHash, newHash,