aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-06-17 20:07:59 -0500
committerDhravya <[email protected]>2024-06-17 20:07:59 -0500
commit066833a753eed90577b6d28f30ada99f63b5906e (patch)
treea8ea78964b390e253064f81c34f4e79be2355f21 /apps
parentvector duplication no longer an issue. support for querying with multiple spa... (diff)
downloadarchived-supermemory-066833a753eed90577b6d28f30ada99f63b5906e.tar.xz
archived-supermemory-066833a753eed90577b6d28f30ada99f63b5906e.zip
include all selected spaces in the fetch call to backend
Diffstat (limited to 'apps')
-rw-r--r--apps/web/app/actions/doers.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/web/app/actions/doers.ts b/apps/web/app/actions/doers.ts
index f94ed8ec..6c7180d9 100644
--- a/apps/web/app/actions/doers.ts
+++ b/apps/web/app/actions/doers.ts
@@ -168,8 +168,7 @@ export const createMemory = async (input: {
title: metadata.title,
description: metadata.description,
url: metadata.baseUrl,
- // TODO: now, in the vector store, we are only saving the first space. We need to save all spaces.
- space: storeToSpaces[0],
+ spaces: storeToSpaces,
user: data.user.id,
type,
}),