mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-19 17:59:12 -06:00
fix: adjusts in messageType
This commit is contained in:
parent
56aaf18663
commit
4e160a46dd
@ -298,6 +298,8 @@ export class BusinessStartupService extends WAStartupService {
|
|||||||
let messageRaw: MessageRaw;
|
let messageRaw: MessageRaw;
|
||||||
let pushName: any;
|
let pushName: any;
|
||||||
|
|
||||||
|
console.log('received?.messages[0]', received?.messages[0]);
|
||||||
|
|
||||||
if (received.contacts) pushName = received.contacts[0].profile.name;
|
if (received.contacts) pushName = received.contacts[0].profile.name;
|
||||||
|
|
||||||
if (received.messages) {
|
if (received.messages) {
|
||||||
|
Loading…
Reference in New Issue
Block a user