Skip to content

Commit 8dc54ef

Browse files
committed
feat(chat-route): lint & beautify
1 parent 72f26b4 commit 8dc54ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/app/api/chat/route.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ const handleHistorySave = async (
148148
})
149149
.execute();
150150
} else if (JSON.stringify(chat.files ?? []) != JSON.stringify(fileData)) {
151-
db
152-
.update(chats)
151+
db.update(chats)
153152
.set({
154153
files: files.map(getFileDetails),
155154
})

0 commit comments

Comments
 (0)