mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-24 14:17:47 -06:00
refactor: integration folders and fix manager bugs
This commit is contained in:
@@ -150,7 +150,7 @@ export class DifyController extends ChatbotController implements ChatbotControll
|
||||
try {
|
||||
const bot = await this.botRepository.create({
|
||||
data: {
|
||||
enabled: data.enabled,
|
||||
enabled: data?.enabled,
|
||||
description: data.description,
|
||||
botType: data.botType,
|
||||
apiUrl: data.apiUrl,
|
||||
@@ -331,7 +331,7 @@ export class DifyController extends ChatbotController implements ChatbotControll
|
||||
id: botId,
|
||||
},
|
||||
data: {
|
||||
enabled: data.enabled,
|
||||
enabled: data?.enabled,
|
||||
botType: data.botType,
|
||||
apiUrl: data.apiUrl,
|
||||
apiKey: data.apiKey,
|
||||
|
||||
Reference in New Issue
Block a user