fix: create time (#6117)

This commit is contained in:
Archer 2025-12-18 13:58:12 +08:00 committed by GitHub
parent 0d88761378
commit c6fe6f18da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -313,8 +313,10 @@ export async function saveChat(props: Props) {
shareId,
outLinkUid,
metadata: metadataUpdate,
createTime: new Date(),
updateTime: new Date()
},
$setOnInsert: {
createTime: new Date()
}
},
{