mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-11 10:59:37 -06:00
Merge pull request #2203 from RaFaeL-Cunha/patch-1
Some checks failed
Some checks failed
fix(chatwoot): corrige erro de duplicação na importação de contatos
This commit is contained in:
commit
90640b7cee
@ -137,7 +137,7 @@ class ChatwootImport {
|
|||||||
DO UPDATE SET
|
DO UPDATE SET
|
||||||
name = EXCLUDED.name,
|
name = EXCLUDED.name,
|
||||||
phone_number = EXCLUDED.phone_number,
|
phone_number = EXCLUDED.phone_number,
|
||||||
identifier = EXCLUDED.identifier`;
|
updated_at = NOW()`;
|
||||||
|
|
||||||
totalContactsImported += (await pgClient.query(sqlInsert, bindInsert))?.rowCount ?? 0;
|
totalContactsImported += (await pgClient.query(sqlInsert, bindInsert))?.rowCount ?? 0;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user