Fix on whatsapp number return

This commit is contained in:
Judson Cairo 2024-09-04 17:05:07 -03:00
parent 2784b907b0
commit 672bdc1cc7

View File

@ -2732,7 +2732,7 @@ export class BaileysStartupService extends ChannelStartupService {
exists: true, exists: true,
jid: cached.remoteJid, jid: cached.remoteJid,
name: contacts.find((c) => c.remoteJid === cached.remoteJid)?.pushName, name: contacts.find((c) => c.remoteJid === cached.remoteJid)?.pushName,
number: cached.number, number: user.number,
}; };
} }