aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMaheshtheDev <[email protected]>2025-11-13 06:37:44 +0000
committerMaheshtheDev <[email protected]>2025-11-13 06:37:44 +0000
commitbf225f25575c67e77f0c0adfb17c292ecce4fe57 (patch)
tree5dc9193b6364eb80cdd4d33669032b752f3a168e /apps
parentfix: org switch issue on consumer when dev org exists (#577) (diff)
downloadsupermemory-bf225f25575c67e77f0c0adfb17c292ecce4fe57.tar.xz
supermemory-bf225f25575c67e77f0c0adfb17c292ecce4fe57.zip
fix: file upload source (#579)11-12-fix_file_upload_source
Diffstat (limited to 'apps')
-rw-r--r--apps/web/components/views/add-memory/index.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/web/components/views/add-memory/index.tsx b/apps/web/components/views/add-memory/index.tsx
index 05399f21..f7940bce 100644
--- a/apps/web/components/views/add-memory/index.tsx
+++ b/apps/web/components/views/add-memory/index.tsx
@@ -420,6 +420,9 @@ export function AddMemoryView({
const formData = new FormData()
formData.append("file", file)
formData.append("containerTags", JSON.stringify([project]))
+ formData.append("metadata", JSON.stringify({
+ sm_source: "consumer",
+ }))
const response = await fetch(
`${process.env.NEXT_PUBLIC_BACKEND_URL}/v3/documents/file`,