Fix error ;

This commit is contained in:
Leandro Santos Rocha 2024-01-31 11:39:04 -03:00 committed by GitHub
parent dfb1ee0c56
commit 7439d2401d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3181,7 +3181,7 @@ export class WAStartupService {
const query: ContactQuery = { const query: ContactQuery = {
where: { where: {
owner: this.instance.name, owner: this.instance.name,
id: user.jid.startsWith('+') ? user.jid.substring(1) : user.jid;, id: user.jid.startsWith('+') ? user.jid.substring(1) : user.jid,
}, },
}; };
const contacts: ContactRaw[] = await this.repository.contact.find(query); const contacts: ContactRaw[] = await this.repository.contact.find(query);