You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quando chamo a função, getGroupInfoFromInviteLink, que é uma promisse, parece que ela nao consegue ser resolvida, pois não tenho nenhum retorno da mesma, ja fiz testes e isso só ocorre ultilizando a função beta que contém multiplas sessões.
Environment
Wppconnect version(s): [e.g. 2.0.27, 2.2.1]
Browser: [e.g. Chrome 87, Chromium 85]
OS: [e.g. OSX 10.13.4, Windows 10]
Node version: [e.g. Node 8, Node 14]
WhatsApp version: [e.g. 2.2126.14]
MultiDevice (BETA): yes/no
Steps to Reproduce
Chamar o endpoint group-info-from-invite-link
Log Output
Sem retorno, a requisição leva timeout.
Code
export async function getGroupInfoFromInviteLink(req, res) {
const thi = await req.client.getGroupInfoFromInviteLink();
console.log(thi);
try {
const { invitecode } = req.body;
let response = await req.client.getGroupInfoFromInviteLink(invitecode);
return res.status(200).json({ status: 'success', response: response });
} catch (e) {
req.logger.error(e);
return res.status(500).json({ status: 'error', message: 'Error on get group info from invite link' });
}
}
The text was updated successfully, but these errors were encountered:
Description
Quando chamo a função, getGroupInfoFromInviteLink, que é uma promisse, parece que ela nao consegue ser resolvida, pois não tenho nenhum retorno da mesma, ja fiz testes e isso só ocorre ultilizando a função beta que contém multiplas sessões.
Environment
Steps to Reproduce
Log Output
Sem retorno, a requisição leva timeout.
Code
export async function getGroupInfoFromInviteLink(req, res) {
const thi = await req.client.getGroupInfoFromInviteLink();
console.log(thi);
try {
const { invitecode } = req.body;
let response = await req.client.getGroupInfoFromInviteLink(invitecode);
return res.status(200).json({ status: 'success', response: response });
} catch (e) {
req.logger.error(e);
return res.status(500).json({ status: 'error', message: 'Error on get group info from invite link' });
}
}
The text was updated successfully, but these errors were encountered: