fix: savechat.feat: extract flow
This commit is contained in:
@@ -36,7 +36,7 @@ export async function saveChat({
|
||||
if (chatHistory) {
|
||||
promise.push(
|
||||
Chat.findOneAndUpdate(
|
||||
{ chatId },
|
||||
{ chatId, userId },
|
||||
{
|
||||
$push: {
|
||||
content: {
|
||||
|
||||
Reference in New Issue
Block a user