forked from open-webui/open-webui
		
	Fix chat import bug
This commit is contained in:
		
							parent
							
								
									26f7a1c682
								
							
						
					
					
						commit
						3b7775a535
					
				
					 2 changed files with 5 additions and 3 deletions
				
			
		|  | @ -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)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brandon Hulston
						Brandon Hulston