fix: get integrations sessions by type

This commit is contained in:
Davidson Gomes
2024-08-24 13:18:58 -03:00
parent a90617fa0c
commit aeea61ef4b
18 changed files with 403 additions and 398 deletions

View File

@@ -649,6 +649,7 @@ export class DifyController extends ChatbotController implements ChatbotControll
instanceId: instanceId,
remoteJid,
botId: bot ? botId : { not: null },
type: 'dify',
},
});
} catch (error) {

View File

@@ -29,6 +29,7 @@ export class DifyService {
awaitUser: false,
botId: data.botId,
instanceId: instance.instanceId,
type: 'dify',
},
});