fix delete message

This commit is contained in:
Peter Maquiran
2022-03-21 21:06:54 +01:00
parent b963b59a69
commit c9af986ae8
8 changed files with 76 additions and 113 deletions
+1
View File
@@ -242,6 +242,7 @@ export class MessageService {
async delateDB() {
// alert('delete data')
const message = await MessageModel.get({_id: this._id})
await message.delete()