This commit is contained in:
wangchuxiao
2023-06-12 20:04:08 +08:00
parent 53c28a954a
commit be0b5422ee
-1
View File
@@ -298,7 +298,6 @@ func (m *MsgMongoDriver) MarkSingleChatMsgsAsRead(ctx context.Context, userID st
SetFilter(filter).
SetUpdate(update)
updates = append(updates, updateModel)
}
_, err := m.MsgCollection.BulkWrite(ctx, updates)
return err