mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-24 17:38:40 -06:00
Merge branch 'develop' of github.com:EvolutionAPI/evolution-api into develop
This commit is contained in:
commit
d190d8b1af
@ -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,
|
||||||
});
|
});
|
||||||
|
@ -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');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user