[core] GOWS - fix get contact issue

fix #866
This commit is contained in:
devlikepro committed 2025-03-27 14:36:30 +07:00
1 parent 0f5e79b163
commit c2372ce96e
1 file changed
+1 -1
+1 -1
View File
@@ -1191,7 +1191,7 @@ export class WhatsappSessionGoWSCore extends WhatsappSession {
session: this.session,
id: jid,
});
const response = await promisify(this.client.GetContact)(request);
const response = await promisify(this.client.GetContactById)(request);
const data = parseJson(response);
return this.toWAContact(data);
}