We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c69b05 commit aa89148Copy full SHA for aa89148
src/whatsapp/services/typebot.service.ts
@@ -69,6 +69,20 @@ export class TypebotService {
69
session.status = status;
70
}
71
});
72
+ } else {
73
+ const session: Session = {
74
+ remoteJid: remoteJid,
75
+ sessionId: Math.floor(Math.random() * 10000000000).toString(),
76
+ status: status,
77
+ createdAt: Date.now(),
78
+ updateAt: Date.now(),
79
+ prefilledVariables: {
80
81
+ pushName: '',
82
+ additionalData: {},
83
+ },
84
+ };
85
+ findData.sessions.push(session);
86
87
88
const typebotData = {
0 commit comments