diff options
| author | Dhravya <[email protected]> | 2024-04-13 21:29:11 -0700 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-04-13 21:29:11 -0700 |
| commit | 3ae0c13de9e798bdae41f720f5f82036d1024e08 (patch) | |
| tree | 8310658a913dce77cad73c01170d745e1445810c /apps | |
| parent | get pagecount as well (diff) | |
| download | supermemory-3ae0c13de9e798bdae41f720f5f82036d1024e08.tar.xz supermemory-3ae0c13de9e798bdae41f720f5f82036d1024e08.zip | |
fixed notes vectorize
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/web/src/actions/db.ts | 4 |
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, }), }), |