diff --git a/src/interface/web/app/common/chatFunctions.ts b/src/interface/web/app/common/chatFunctions.ts index a970c9e5b..0e4db2c30 100644 --- a/src/interface/web/app/common/chatFunctions.ts +++ b/src/interface/web/app/common/chatFunctions.ts @@ -163,7 +163,7 @@ export function modifyFileFilterForConversation( const method = mode === "add" ? "POST" : "DELETE"; const body = { - conversation_id: conversationId, + conversation_id: String(conversationId), filenames: filenames, }; const addUrl = `/api/chat/conversation/file-filters/bulk`; @@ -177,7 +177,6 @@ export function modifyFileFilterForConversation( }) .then((response) => response.json()) .then((data) => { - console.log("ADDEDFILES DATA: ", data); setAddedFiles(data); }) .catch((err) => {