We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72f26b4 commit 8dc54efCopy full SHA for 8dc54ef
src/app/api/chat/route.ts
@@ -148,8 +148,7 @@ const handleHistorySave = async (
148
})
149
.execute();
150
} else if (JSON.stringify(chat.files ?? []) != JSON.stringify(fileData)) {
151
- db
152
- .update(chats)
+ db.update(chats)
153
.set({
154
files: files.map(getFileDetails),
155
0 commit comments