mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 09:51:24 -06:00
Fix error ;
This commit is contained in:
parent
dfb1ee0c56
commit
7439d2401d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user