mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 12:12:55 -06:00
commit
1f29b7733e
@ -114,9 +114,11 @@ export class TypebotService {
|
|||||||
instanceName: instance.instanceName,
|
instanceName: instance.instanceName,
|
||||||
};
|
};
|
||||||
|
|
||||||
variables.forEach((variable) => {
|
if (variables?.length) {
|
||||||
prefilledVariables[variable.name] = variable.value;
|
variables.forEach((variable: { name: string | number; value: string }) => {
|
||||||
});
|
prefilledVariables[variable.name] = variable.value;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (startSession) {
|
if (startSession) {
|
||||||
const response = await this.createNewSession(instance, {
|
const response = await this.createNewSession(instance, {
|
||||||
|
Loading…
Reference in New Issue
Block a user