mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
fix: correctly searches bing messages
This commit is contained in:
parent
a46ec62532
commit
34bef48e84
4 changed files with 14 additions and 10 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