Merge branch 'develop' of github.com:EvolutionAPI/evolution-api into develop

This commit is contained in:
Davidson Gomes 2024-04-17 12:43:55 -03:00
commit d190d8b1af
2 changed files with 2 additions and 2 deletions

View File

@ -461,7 +461,7 @@ export class ChatwootService {
const queryOperator = fieldsToSearch.length - 1 === index1 && numbers.length - 1 === index2 ? null : 'OR'; const queryOperator = fieldsToSearch.length - 1 === index1 && numbers.length - 1 === index2 ? null : 'OR';
filterPayload.push({ filterPayload.push({
attribute_key: field, attribute_key: field,
filter_operator: field == 'phone_number' ? 'equal_to' : 'contains', filter_operator: ['phone_number', 'identifier'].includes(field) ? 'equal_to' : 'contains',
values: [number.replace('+', '')], values: [number.replace('+', '')],
query_operator: queryOperator, query_operator: queryOperator,
}); });

View File

@ -583,7 +583,7 @@ export class WAStartupService {
this.logger.verbose(`Proxy enabled: ${this.localProxy.enabled}`); this.logger.verbose(`Proxy enabled: ${this.localProxy.enabled}`);
this.localProxy.proxy = data?.proxy; this.localProxy.proxy = data?.proxy;
this.logger.verbose(`Proxy proxy: ${this.localProxy.proxy.host}`); this.logger.verbose(`Proxy proxy: ${this.localProxy.proxy?.host}`);
this.logger.verbose('Proxy loaded'); this.logger.verbose('Proxy loaded');
} }