mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-21 19:47:21 -06:00
Merge branch 'develop' of github.com:EvolutionAPI/evolution-api into develop
This commit is contained in:
commit
41b2946cdc
@ -69,6 +69,20 @@ export class TypebotService {
|
|||||||
session.status = status;
|
session.status = status;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
const session: Session = {
|
||||||
|
remoteJid: remoteJid,
|
||||||
|
sessionId: Math.floor(Math.random() * 10000000000).toString(),
|
||||||
|
status: status,
|
||||||
|
createdAt: Date.now(),
|
||||||
|
updateAt: Date.now(),
|
||||||
|
prefilledVariables: {
|
||||||
|
remoteJid: remoteJid,
|
||||||
|
pushName: '',
|
||||||
|
additionalData: {},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
findData.sessions.push(session);
|
||||||
}
|
}
|
||||||
|
|
||||||
const typebotData = {
|
const typebotData = {
|
||||||
|
Loading…
Reference in New Issue
Block a user