aboutsummaryrefslogtreecommitdiff
path: root/apps/web/src
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-04-13 21:29:11 -0700
committerDhravya <[email protected]>2024-04-13 21:29:11 -0700
commit3ae0c13de9e798bdae41f720f5f82036d1024e08 (patch)
tree8310658a913dce77cad73c01170d745e1445810c /apps/web/src
parentget pagecount as well (diff)
downloadsupermemory-3ae0c13de9e798bdae41f720f5f82036d1024e08.tar.xz
supermemory-3ae0c13de9e798bdae41f720f5f82036d1024e08.zip
fixed notes vectorize
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,
}),
}),