mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 04:02:54 -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);
|
const replyToIds = await this.getReplyToIds(messageBody, instance);
|
||||||
|
|
||||||
if (replyToIds.in_reply_to || replyToIds.in_reply_to_external_id) {
|
if (replyToIds.in_reply_to || replyToIds.in_reply_to_external_id) {
|
||||||
data.append('content_attributes', {
|
const content = JSON.stringify({
|
||||||
...replyToIds,
|
...replyToIds
|
||||||
});
|
})
|
||||||
|
data.append('content_attributes', content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user