mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
search: correctly register/export schema/models for mongoMeili
This commit is contained in:
parent
8be19f9982
commit
a5cf2f9148
6 changed files with 231 additions and 53 deletions
|
|
@ -1,4 +1,4 @@
|
|||
const { Message } = require('./schema/');
|
||||
const Message = require('./schema/messageSchema');
|
||||
module.exports = {
|
||||
Message,
|
||||
saveMessage: async ({ messageId, conversationId, parentMessageId, sender, text, isCreatedByUser=false, error }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue