Skip to content

Commit 06543e8

Browse files
committed
fix: await chatwootRequest in update_last_seen method for proper asynchronous handling
1 parent df20c5f commit 06543e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2338,7 +2338,7 @@ export class ChatwootService {
23382338
const url =
23392339
`/public/api/v1/inboxes/${inbox.inbox_identifier}/contacts/${sourceId}` +
23402340
`/conversations/${conversationId}/update_last_seen`;
2341-
chatwootRequest(this.getClientCwConfig(), {
2341+
await chatwootRequest(this.getClientCwConfig(), {
23422342
method: 'POST',
23432343
url: url,
23442344
});

0 commit comments

Comments
 (0)