From be0b5422eecd861dbb7d8952e4d6959ec2bf3040 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Mon, 12 Jun 2023 20:04:08 +0800 Subject: [PATCH] mark log --- pkg/common/db/unrelation/msg.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/common/db/unrelation/msg.go b/pkg/common/db/unrelation/msg.go index 71fd7cbc6..2d256693e 100644 --- a/pkg/common/db/unrelation/msg.go +++ b/pkg/common/db/unrelation/msg.go @@ -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