Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix build error

Móricz Gergő561f0186ef9e
diff --git a/apps/api/src/lib/extract/helpers/mix-schema-objs.ts b/apps/api/src/lib/extract/helpers/mix-schema-objs.ts
index e001ac736..0b1091ca5 100644
--- a/apps/api/src/lib/extract/helpers/mix-schema-objs.ts
+++ b/apps/api/src/lib/extract/helpers/mix-schema-objs.ts
@@ -4,10 +4,10 @@ export async function mixSchemaObjects(
finalSchema: any,
singleAnswerResult: any,
multiEntityResult: any,
- logger: Logger
+ logger?: Logger
) {
const finalResult: any = {};
- logger.debug("Mixing schema objects.");
+ logger?.debug("Mixing schema objects.");
// Recursive helper function to merge results based on schema
function mergeResults(schema: any, singleResult: any, multiResult: any) {