Skip to content

Commit 90640b7

Browse files
Merge pull request #2203 from RaFaeL-Cunha/patch-1
fix(chatwoot): corrige erro de duplicação na importação de contatos
2 parents 4ae3139 + da8774c commit 90640b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/integrations/chatbot/chatwoot/utils/chatwoot-import-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class ChatwootImport {
137137
DO UPDATE SET
138138
name = EXCLUDED.name,
139139
phone_number = EXCLUDED.phone_number,
140-
identifier = EXCLUDED.identifier`;
140+
updated_at = NOW()`;
141141

142142
totalContactsImported += (await pgClient.query(sqlInsert, bindInsert))?.rowCount ?? 0;
143143

0 commit comments

Comments
 (0)