🐛 (chat) Enable prefilledVariables in preview mode
Also make list values compatible
This commit is contained in:
@ -29,6 +29,7 @@ export const startChatPreview = publicProcedure
|
||||
startFrom,
|
||||
typebotId,
|
||||
typebot: startTypebot,
|
||||
prefilledVariables,
|
||||
},
|
||||
ctx: { user },
|
||||
}) => {
|
||||
@ -51,6 +52,7 @@ export const startChatPreview = publicProcedure
|
||||
typebotId,
|
||||
typebot: startTypebot,
|
||||
userId: user?.id,
|
||||
prefilledVariables,
|
||||
},
|
||||
message,
|
||||
})
|
||||
|
Reference in New Issue
Block a user