Skip to content

Commit 1fabb1f

Browse files
Merge pull request #1951 from Nocelli/develop
feat: add extra fields to object sent to Flowise bot
2 parents 8276046 + 481e179 commit 1fabb1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api/integrations/chatbot/flowise/services/flowise.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ export class FlowiseService extends BaseChatbotService<FlowiseModel> {
5757
overrideConfig: {
5858
sessionId: remoteJid,
5959
vars: {
60+
messageId: msg?.key?.id,
61+
fromMe: msg?.key?.fromMe,
6062
remoteJid: remoteJid,
6163
pushName: pushName,
6264
instanceName: instance.instanceName,

0 commit comments

Comments
 (0)