Skip to content

Commit 09f0f9b

Browse files
to previous
1 parent 8efc703 commit 09f0f9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/src/app/modules/policy-engine/policy-viewer/code/ipfs-transformation-ui-addon.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ export class IpfsTransformationUIAddonCode {
9292
}
9393

9494
if (this.cache.has(match.cid)) {
95-
return this.cache.get(match.cid)!;
95+
const cachedBase64 = this.cache.get(match.cid)!;
96+
return { base64String: cachedBase64 };
9697
}
9798

9899
try {

0 commit comments

Comments
 (0)