mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 04:02:54 -06:00
fix: Corrige envio da apiKey da instância no payload do N8N
Corrige o envio da apiKey no payload do N8N para usar a apiKey específica da instância ao invés da apiKey global do sistema.
This commit is contained in:
parent
2af7b24013
commit
d24540d6dd
@ -135,7 +135,7 @@ export class N8nService extends BaseChatbotService<N8n, N8nSetting> {
|
|||||||
fromMe: msg?.key?.fromMe,
|
fromMe: msg?.key?.fromMe,
|
||||||
instanceName: instance.instanceName,
|
instanceName: instance.instanceName,
|
||||||
serverUrl: this.configService.get<HttpServer>('SERVER').URL,
|
serverUrl: this.configService.get<HttpServer>('SERVER').URL,
|
||||||
apiKey: this.configService.get<Auth>('AUTHENTICATION').API_KEY.KEY,
|
apiKey: instance.token,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Handle audio messages
|
// Handle audio messages
|
||||||
|
Loading…
Reference in New Issue
Block a user