aboutsummaryrefslogtreecommitdiff
path: root/apps/web/src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src')
-rw-r--r--apps/web/src/actions/db.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/web/src/actions/db.ts b/apps/web/src/actions/db.ts
index 4d55d185..cd1a0f1d 100644
--- a/apps/web/src/actions/db.ts
+++ b/apps/web/src/actions/db.ts
@@ -259,6 +259,8 @@ export async function addMemory(
return null;
}
+ console.log(content);
+
console.log({ ...content, user: user.email });
// Add to vectorDB
@@ -270,8 +272,8 @@ export async function addMemory(
},
body: JSON.stringify({
pageContent: content.content,
+ title: content.title,
url: content.url,
- spaces,
user: user.email,
}),
}),