sync updates and merge with feat-resubmit

This commit is contained in:
Wentao Lyu 2023-03-15 16:56:47 +08:00
parent 62d88380e0
commit b0284b6974
5 changed files with 46 additions and 32 deletions

View file

@ -85,8 +85,6 @@ module.exports = {
update.promptPrefix = null;
}
console.error(user)
return await Conversation.findOneAndUpdate(
{ conversationId: conversationId, user: user },
{ $set: update },