🚑 Revert resultId optional in startChat response
This commit is contained in:
@ -1539,7 +1539,6 @@
|
||||
},
|
||||
"required": [
|
||||
"sessionId",
|
||||
"resultId",
|
||||
"typebot",
|
||||
"messages"
|
||||
]
|
||||
|
@ -74,7 +74,7 @@ export const startChat = publicProcedure
|
||||
},
|
||||
messages,
|
||||
input,
|
||||
resultId: resultId as string,
|
||||
resultId,
|
||||
dynamicTheme,
|
||||
logs,
|
||||
clientSideActions,
|
||||
|
@ -317,7 +317,7 @@ export const startChatResponseSchema = z
|
||||
sessionId: z
|
||||
.string()
|
||||
.describe('To save and use for /continueChat requests.'),
|
||||
resultId: z.string(),
|
||||
resultId: z.string().optional(),
|
||||
typebot: z.object({
|
||||
id: z.string(),
|
||||
theme: themeSchema,
|
||||
|
Reference in New Issue
Block a user