mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
Fix chat import bug
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
const importChats = async (_chats) => {
|
||||
for (const chat of _chats) {
|
||||
console.log(chat);
|
||||
await createNewChat(localStorage.token, chat);
|
||||
await createNewChat(localStorage.token, chat.chat);
|
||||
}
|
||||
|
||||
await chats.set(await getChatList(localStorage.token));
|
||||
|
||||
Reference in New Issue
Block a user