Merge pull request #413 from BlipRanger/dev

Hotfix for Chromadb export.
This commit is contained in:
Cohee
2023-05-31 01:18:13 +03:00
committed by GitHub

View File

@ -230,7 +230,7 @@ async function onExportClick() {
const exportResult = await fetch(url, { const exportResult = await fetch(url, {
method: 'POST', method: 'POST',
headers: postHeaders, headers: postHeaders,
body: JSON.stringify({ currentChatId }), body: JSON.stringify({ chat_id: currentChatId }),
}); });
if (exportResult.ok) { if (exportResult.ok) {