From 06543e89e519ae600c2ced3f765170752df3646e Mon Sep 17 00:00:00 2001 From: Victor Eduardo Date: Wed, 12 Nov 2025 22:43:33 -0300 Subject: [PATCH] fix: await chatwootRequest in update_last_seen method for proper asynchronous handling --- .../integrations/chatbot/chatwoot/services/chatwoot.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts b/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts index cc2bd9e4d..7ee5e0685 100644 --- a/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts +++ b/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts @@ -2338,7 +2338,7 @@ export class ChatwootService { const url = `/public/api/v1/inboxes/${inbox.inbox_identifier}/contacts/${sourceId}` + `/conversations/${conversationId}/update_last_seen`; - chatwootRequest(this.getClientCwConfig(), { + await chatwootRequest(this.getClientCwConfig(), { method: 'POST', url: url, });