mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-05-05 15:30:40 +00:00
ensure useriD while saving
This commit is contained in:
parent
1d9446ef8c
commit
9a5e879a62
9 changed files with 727 additions and 7 deletions
|
|
@ -55,7 +55,9 @@ const createMemoryFromAPI = async (input: {
|
|||
let contentId: number | undefined;
|
||||
|
||||
const saveToDbUrl =
|
||||
input.data.url.split("#supermemory-user-")[0] ?? input.data.url;
|
||||
(input.data.url.split("#supermemory-user-")[0] ?? input.data.url) +
|
||||
"#supermemory-user-" +
|
||||
input.userId;
|
||||
|
||||
// Insert into database
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue