send chatKey to backend

This commit is contained in:
anovazzi1 2023-09-29 10:04:30 -03:00 • committed by anovazzi1
commit 8344bf7fe2
2 changed files with 2 additions and 1 deletions

View file

@ -391,6 +391,7 @@ export default function FormModal({
chatHistory, chatHistory,
name: flow.name, name: flow.name,
description: flow.description, description: flow.description,
chatKey: chatKey!,
}); });
//@ts-ignore //@ts-ignore
setTabsState((old: TabsState) => { setTabsState((old: TabsState) => {

View file

@ -38,7 +38,7 @@ export type sendAllProps = {
description: string; description: string;
viewport: Viewport; viewport: Viewport;
inputs: { text?: string }; inputs: { text?: string };
chatKey: string;
chatHistory: { message: string | object; isSend: boolean }[]; chatHistory: { message: string | object; isSend: boolean }[];
}; };
export type errorsTypeAPI = { export type errorsTypeAPI = {