mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 01:41:24 -06:00
Merge pull request #983 from Richards0nd/fix
refactor: Update content_attributes in ChatwootService
This commit is contained in:
commit
968cc25d37
@ -954,9 +954,10 @@ export class ChatwootService {
|
||||
const replyToIds = await this.getReplyToIds(messageBody, instance);
|
||||
|
||||
if (replyToIds.in_reply_to || replyToIds.in_reply_to_external_id) {
|
||||
data.append('content_attributes', {
|
||||
...replyToIds,
|
||||
});
|
||||
const content = JSON.stringify({
|
||||
...replyToIds
|
||||
})
|
||||
data.append('content_attributes', content);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user