Hotfix for Chromadb export.

Missing key which causes export to fail.
This commit is contained in:
BlipRanger
2023-05-30 17:53:36 -04:00
committed by GitHub
parent ed74eedc5b
commit c9c82537a7

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) {