mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
4819 doc (#3646)
This commit is contained in:
@@ -28,7 +28,7 @@ const moveUserAvatar = async () => {
|
||||
if (!user.avatar) continue;
|
||||
try {
|
||||
await mongoSessionRun(async (session) => {
|
||||
await MongoTeamMember.updateOne(
|
||||
await MongoTeamMember.updateMany(
|
||||
{
|
||||
userId: user._id
|
||||
},
|
||||
|
Reference in New Issue
Block a user