Skip to content

Commit

Permalink
fix regression on message edit
Browse files Browse the repository at this point in the history
caused by eb9766f
  • Loading branch information
allgood committed Jul 11, 2024
1 parent 6b0680f commit 2aff0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/services/WbotServices/EditWhatsAppMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const EditWhatsAppMessage = async ({

await OldMessage.upsert(oldMessage);

await message.update({ formattedBody, isEdited: true });
await message.update({ body: formattedBody, isEdited: true });

const savedMessage = await Message.findOne({
where: {
Expand Down

0 comments on commit 2aff0ad

Please sign in to comment.