Hotfixes attribution

This commit is contained in:
Júlio Paulillo 2024-09-03 12:25:02 -03:00
parent 1db339c65f
commit b0aa299850

View File

@ -321,7 +321,7 @@ export class BusinessStartupService extends ChannelStartupService {
try {
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;
const version = this.configService.get<WaBusiness>('WA_BUSINESS').VERSION;
urlServer = `${urlServer}/${version}/${id}`;