From c895f1fd9390362ec00cab8cd73c421c35b7a37d Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Thu, 21 Mar 2024 10:53:16 +0800 Subject: [PATCH] Optimizing scripts --- pkg/common/db/mgo/conversation.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/common/db/mgo/conversation.go b/pkg/common/db/mgo/conversation.go index bd8cb24e1..981a0f2f0 100644 --- a/pkg/common/db/mgo/conversation.go +++ b/pkg/common/db/mgo/conversation.go @@ -79,7 +79,6 @@ func (c *ConversationMgo) FindUserID(ctx context.Context, userIDs []string, conv options.Find().SetProjection(bson.M{"_id": 0, "owner_user_id": 1}), ) } - func (c *ConversationMgo) FindUserIDAllConversationID(ctx context.Context, userID string) ([]string, error) { return mgoutil.Find[string](ctx, c.coll, bson.M{"owner_user_id": userID}, options.Find().SetProjection(bson.M{"_id": 0, "conversation_id": 1})) }