mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 20:29:17 +00:00
improvement: moved delete message logic to single file
This commit is contained in:
@@ -30,6 +30,8 @@ const DeleteWhatsAppMessage = async (messageId: string): Promise<Message> => {
|
||||
);
|
||||
}
|
||||
|
||||
await message.update({ isDeleted: true });
|
||||
|
||||
return message;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user