mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-05-05 15:30:40 +00:00
format
This commit is contained in:
parent
00239d6d01
commit
dcf6b589da
13 changed files with 629 additions and 622 deletions
|
|
@ -79,13 +79,13 @@ const createMemoryFromAPI = async (input: {
|
|||
})
|
||||
.returning({ id: storedContent.id });
|
||||
|
||||
if (!insertResponse[0]?.id) {
|
||||
return {
|
||||
success: false,
|
||||
data: 0,
|
||||
error: "Failed to save to database",
|
||||
};
|
||||
}
|
||||
if (!insertResponse[0]?.id) {
|
||||
return {
|
||||
success: false,
|
||||
data: 0,
|
||||
error: "Failed to save to database",
|
||||
};
|
||||
}
|
||||
|
||||
contentId = insertResponse[0].id;
|
||||
} catch (e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue