From c720ec9ea28d6cae7b1a424144cefb9da49c3481 Mon Sep 17 00:00:00 2001 From: Dipak Acharya Date: Sat, 23 Jan 2021 14:50:56 -0800 Subject: [PATCH] remove unnecessary log lines --- users/api/handler.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/users/api/handler.go b/users/api/handler.go index c526f6f..944b56f 100644 --- a/users/api/handler.go +++ b/users/api/handler.go @@ -120,11 +120,7 @@ func (s *Server) GetProfile(ctx context.Context, in *userspb.EmptyData) (*usersp return nil, status.Errorf(codes.Unauthenticated, "Invalid userid") } - s.Log.Info(user.Username) - s.Log.Info(string(user.Id)) dbUser := data.UserStore.GetByID(user.Id) - s.Log.Info(dbUser.Username) - s.Log.Info(string(dbUser.ID)) if dbUser == nil { s.Log.Errorf("Failed to Fetch the user: User doesn't exists") return nil, status.Errorf(codes.NotFound, "User not found")