From fc02fe9baf3fe9ca15921d208db850a28a8c5acb Mon Sep 17 00:00:00 2001 From: AndrewZuo01 Date: Fri, 8 Dec 2023 14:35:05 +0800 Subject: [PATCH] debug --- pkg/common/db/table/relation/friend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/db/table/relation/friend.go b/pkg/common/db/table/relation/friend.go index 72a0c0dde..7d8f181a0 100644 --- a/pkg/common/db/table/relation/friend.go +++ b/pkg/common/db/table/relation/friend.go @@ -30,7 +30,7 @@ type FriendModel struct { AddSource int32 `bson:"add_source"` OperatorUserID string `bson:"operator_user_id"` Ex string `bson:"ex"` - IsPinned *string `bson:"is_pinned"` + IsPinned *bool `bson:"is_pinned"` } // FriendModelInterface defines the operations for managing friends in MongoDB.