mirror of
				https://github.com/ItzCrazyKns/Perplexica.git
				synced 2025-10-31 19:38:13 +00:00 
			
		
		
		
	fix: update batch delete URL format to match single delete format
This commit is contained in:
		| @@ -36,7 +36,7 @@ const BatchDeleteChats = ({ | ||||
|     setLoading(true); | ||||
|     try { | ||||
|       for (const chatId of chatIds) { | ||||
|         await fetch(`${process.env.NEXT_PUBLIC_API_URL}/chats/${chatId}`, { | ||||
|         await fetch(`/api/chats/${chatId}`, { | ||||
|           method: 'DELETE', | ||||
|           headers: { | ||||
|             'Content-Type': 'application/json', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user