mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 01:10:14 +01:00
adding clear methods for convos
This commit is contained in:
parent
c7c50dbbab
commit
6e3f63ee46
16 changed files with 466 additions and 121 deletions
|
|
@ -41,4 +41,5 @@ module.exports = {
|
|||
});
|
||||
},
|
||||
getMessages: async (filter) => await Message.find(filter).exec(),
|
||||
deleteMessages: async (filter) => await Message.deleteMany(filter).exec()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue