mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-19 09:53:36 -06:00
Hotfixes attribution
This commit is contained in:
parent
1db339c65f
commit
b0aa299850
@ -321,7 +321,7 @@ export class BusinessStartupService extends ChannelStartupService {
|
|||||||
try {
|
try {
|
||||||
const message: any = received;
|
const message: any = received;
|
||||||
|
|
||||||
const id = message.messages[0][messageRaw.messageType].id;
|
const id = message.messages[0][message.messages[0].type].id;
|
||||||
let urlServer = this.configService.get<WaBusiness>('WA_BUSINESS').URL;
|
let urlServer = this.configService.get<WaBusiness>('WA_BUSINESS').URL;
|
||||||
const version = this.configService.get<WaBusiness>('WA_BUSINESS').VERSION;
|
const version = this.configService.get<WaBusiness>('WA_BUSINESS').VERSION;
|
||||||
urlServer = `${urlServer}/${version}/${id}`;
|
urlServer = `${urlServer}/${version}/${id}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user