diff options
| author | Dhravya <[email protected]> | 2024-06-17 20:07:59 -0500 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-06-17 20:07:59 -0500 |
| commit | 066833a753eed90577b6d28f30ada99f63b5906e (patch) | |
| tree | a8ea78964b390e253064f81c34f4e79be2355f21 /apps | |
| parent | vector duplication no longer an issue. support for querying with multiple spa... (diff) | |
| download | archived-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.ts | 3 |
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, }), |