Skip to content

Commit 06378e5

Browse files
fix: Corrige envio da apiKey da instância no payload do Flowise
Corrige o envio da apiKey no payload do Flowise para usar a apiKey específica da instância ao invés da apiKey global do sistema.
1 parent d24540d commit 06378e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class FlowiseService extends BaseChatbotService<Flowise, FlowiseSetting>
5252
pushName: pushName,
5353
instanceName: instance.instanceName,
5454
serverUrl: this.configService.get<HttpServer>('SERVER').URL,
55-
apiKey: this.configService.get<Auth>('AUTHENTICATION').API_KEY.KEY,
55+
apiKey: instance.token,
5656
},
5757
},
5858
};

0 commit comments

Comments
 (0)