From 7ea7dffd4aa81be9ce96c4537826a37173a7ec07 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 16 Jun 2022 17:57:44 +0800 Subject: [PATCH] fix bug --- internal/rpc/user/user.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/rpc/user/user.go b/internal/rpc/user/user.go index 21883a8d7..b38dfa57d 100644 --- a/internal/rpc/user/user.go +++ b/internal/rpc/user/user.go @@ -385,6 +385,7 @@ func (s *userServer) UpdateUserInfo(ctx context.Context, req *pbUser.UpdateUserI } m := make(map[string]interface{}, 1) if req.GlobalRecvMsgOpt != nil { + log.NewDebug(req.OperationID, utils.GetSelfFuncName(), req.GlobalRecvMsgOpt, "set GlobalRecvMsgOpt") m["global_recv_msg_opt"] = req.GlobalRecvMsgOpt.Value err := db.DB.SetUserGlobalMsgRecvOpt(user.UserID, req.GlobalRecvMsgOpt.Value) if err != nil {