mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-28 21:26:13 +01:00
Merge branch 'main' into bing-styles
This commit is contained in:
commit
ad0f2408c8
8 changed files with 112 additions and 20 deletions
|
|
@ -1,6 +1,5 @@
|
|||
// const { Conversation } = require('./plugins');
|
||||
const Conversation = require('./schema/convoSchema');
|
||||
const { cleanUpPrimaryKeyValue } = require('../lib/utils/misc');
|
||||
const { getMessages, deleteMessages } = require('./Message');
|
||||
|
||||
const getConvo = async (user, conversationId) => {
|
||||
|
|
@ -90,7 +89,7 @@ module.exports = {
|
|||
promises.push(
|
||||
Conversation.findOne({
|
||||
user,
|
||||
conversationId: cleanUpPrimaryKeyValue(convo.conversationId)
|
||||
conversationId: convo.conversationId,
|
||||
}).exec()
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue