Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chg(pdf): disable eval (#2486)

teoe0620966c045
diff --git a/js/app/packages/block-pdf/definition.ts b/js/app/packages/block-pdf/definition.ts
index ae3956a87d..f859f799a3 100644
--- a/js/app/packages/block-pdf/definition.ts
+++ b/js/app/packages/block-pdf/definition.ts
@@ -47,7 +47,7 @@ export const definition = defineBlock({
const buffer = await blob.arrayBuffer();
const data = new Uint8Array(buffer);
- const task = getDocument({ data });
+ const task = getDocument({ data, isEvalSupported: false });
const documentProxy = await task.promise;
return ok({