Skip to content

Commit

Permalink
fix(core): blob wasn't allowing to generate viewpoint screenshot in N…
Browse files Browse the repository at this point in the history
…odeJS
  • Loading branch information
HoyosJuan committed Oct 12, 2024
1 parent d5aa997 commit 1b94642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/openbim/BCFTopics/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export class BCFTopics
const image = await fetch(
"https://thatopen.github.io/engine_components/resources/favicon.ico",
);
const imgBlob = await image.blob();
const imgBlob = await image.arrayBuffer();
const viewpoints = this.components.get(Viewpoints);
for (const topic of topics) {
const topicFolder = zip.folder(topic.guid) as JSZip;
Expand Down

0 comments on commit 1b94642

Please sign in to comment.